Nearest named color · #090658
#090658
Nearest named color: Ravenclaw
#090658 (rgb(9 6 88), hsl(242 87% 18%), oklch(0.222 0.135 269.4)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#090658
oklch(0.222 0.135 269.4)
Color conversions
- HEX
- #090658
- RGB
- rgb(9 6 88)
- HSL
- hsl(242 87% 18%)
- HWB
- hwb(242 2% 65%)
- OKLCH
- oklch(0.222 0.135 269.4)
- OKLab
- oklab(0.222 -0.001 -0.135)
- CIE Lab
- lab(7.07 27.69 -48.06)
- LCH
- lch(7.07 55.47 300)
- CMYK
- cmyk(90% 93% 0% 65%)
Tints · Shades · Tones
Tints
- 172469
- 2B3C7A
- 42538B
- 5A6A9C
- 7382AD
- 8D9ABD
- A9B3CE
- C5CCDE
- E1E5EF
Shades
- 07044B
- 05033F
- 030233
- 020128
- 01011D
- 010012
- 000009
- 000003
- 000000
Tones
- 0F185D
- 192662
- 243267
- 2F3D6B
- 3C496F
- 495473
- 565F77
- 646A7A
- 72757D
Color harmonies
Complementary +180°
- 090658
Ravenclaw
- 231A00
≈ Cannon Black
Analogous -30° +30°
- 090658
Ravenclaw
- 001E30
≈ Cyanophobia
- 250049
≈ Your Darkness
Triadic +120° +240°
- 090658
Ravenclaw
- 3B0000
≈ Dark Maroon
- 002309
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 090658
Ravenclaw
- 2C1400
≈ Shadow Play
- 181E00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.81:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #090658;
--ravenclaw-rgb: 9 6 88;
--ravenclaw-oklch: oklch(0.222 0.135 269.4);
}
.element {
color: var(--ravenclaw);
background-color: hsl(242 87% 18%);
border-color: oklch(0.222 0.135 269.4);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #090658;
--color-ravenclaw-50: #e7f4ff;
--color-ravenclaw-100: #d7e6ff;
--color-ravenclaw-200: #bfd2ff;
--color-ravenclaw-300: #9eb3fd;
--color-ravenclaw-400: #7e9aee;
--color-ravenclaw-500: #637fdf;
--color-ravenclaw-600: #546cbc;
--color-ravenclaw-700: #435697;
--color-ravenclaw-800: #2e3f71;
--color-ravenclaw-900: #1f2c4f;
--color-ravenclaw-950: #0f1935;
}SCSS
$ravenclaw: #090658;
$ravenclaw-rgb: 9, 6, 88;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);
.element {
color: $ravenclaw;
box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}