Nearest named color · #09045B
#09045B
Nearest named color: Ravenclaw
#09045B (rgb(9 4 91), hsl(243 92% 19%), oklch(0.224 0.14 269.2)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#09045B
oklch(0.224 0.14 269.2)
Color conversions
- HEX
- #09045b
- RGB
- rgb(9 4 91)
- HSL
- hsl(243 92% 19%)
- HWB
- hwb(243 2% 64%)
- OKLCH
- oklch(0.224 0.14 269.2)
- OKLab
- oklab(0.224 -0.002 -0.14)
- CIE Lab
- lab(7.06 29.76 -50.1)
- LCH
- lch(7.06 58.28 300.7)
- CMYK
- cmyk(90% 96% 0% 64%)
Tints · Shades · Tones
Tints
- 17246C
- 2A3C7D
- 41538E
- 596B9E
- 7282AF
- 8D9ABF
- A8B3CF
- C4CCDF
- E1E5EF
Shades
- 07034E
- 050241
- 030135
- 020129
- 01011E
- 010013
- 000009
- 000003
- 000000
Tones
- 0F1860
- 182665
- 233269
- 2F3D6D
- 3B4971
- 485475
- 565F78
- 646A7B
- 72757E
Color harmonies
Complementary +180°
- 09045B
Ravenclaw
- 241A00
≈ Cannon Black
Analogous -30° +30°
- 09045B
Ravenclaw
- 001E30
≈ Cyanophobia
- 26004A
≈ Your Darkness
Triadic +120° +240°
- 09045B
Ravenclaw
- 3C0000
≈ Charred Brown
- 002309
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 09045B
Ravenclaw
- 2D1400
≈ Shadow Play
- 191F00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.79:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #09045b;
--ravenclaw-rgb: 9 4 91;
--ravenclaw-oklch: oklch(0.224 0.14 269.2);
}
.element {
color: var(--ravenclaw);
background-color: hsl(243 92% 19%);
border-color: oklch(0.224 0.14 269.2);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #09045b;
--color-ravenclaw-50: #e6f4ff;
--color-ravenclaw-100: #d6e6ff;
--color-ravenclaw-200: #bed2ff;
--color-ravenclaw-300: #9db3ff;
--color-ravenclaw-400: #7d99f1;
--color-ravenclaw-500: #617ee2;
--color-ravenclaw-600: #526bbf;
--color-ravenclaw-700: #415699;
--color-ravenclaw-800: #2d3f73;
--color-ravenclaw-900: #1e2b51;
--color-ravenclaw-950: #0e1836;
}SCSS
$ravenclaw: #09045b;
$ravenclaw-rgb: 9, 4, 91;
$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);
}