Nearest named color · #0B0559
#0B0559
Nearest named color: Ravenclaw
#0B0559 (rgb(11 5 89), hsl(244 89% 18%), oklch(0.223 0.136 270.4)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0B0559
oklch(0.223 0.136 270.4)
Color conversions
- HEX
- #0b0559
- RGB
- rgb(11 5 89)
- HSL
- hsl(244 89% 18%)
- HWB
- hwb(244 2% 65%)
- OKLCH
- oklch(0.223 0.136 270.4)
- OKLab
- oklab(0.223 0.001 -0.136)
- CIE Lab
- lab(7.13 28.74 -48.65)
- LCH
- lch(7.13 56.5 300.6)
- CMYK
- cmyk(88% 94% 0% 65%)
Tints · Shades · Tones
Tints
- 19246A
- 2D3C7B
- 43538C
- 5B6A9D
- 7482AD
- 8E9ABE
- A9B3CE
- C5CCDE
- E2E5EF
Shades
- 08044C
- 060340
- 040234
- 020128
- 01011D
- 010013
- 000009
- 000003
- 000000
Tones
- 11185E
- 1A2663
- 253268
- 303D6C
- 3D4970
- 495474
- 575F77
- 646A7B
- 72757D
Color harmonies
Complementary +180°
- 0B0559
Ravenclaw
- 231A00
≈ Cannon Black
Analogous -30° +30°
- 0B0559
Ravenclaw
- 001E31
≈ Cyanophobia
- 260048
≈ Your Darkness
Triadic +120° +240°
- 0B0559
Ravenclaw
- 3B0200
≈ Biltong
- 00230B
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 0B0559
Ravenclaw
- 2C1400
≈ Shadow Play
- 181F00
≈ 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: #0b0559;
--ravenclaw-rgb: 11 5 89;
--ravenclaw-oklch: oklch(0.223 0.136 270.4);
}
.element {
color: var(--ravenclaw);
background-color: hsl(244 89% 18%);
border-color: oklch(0.223 0.136 270.4);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #0b0559;
--color-ravenclaw-50: #e7f4ff;
--color-ravenclaw-100: #d8e6ff;
--color-ravenclaw-200: #c0d1ff;
--color-ravenclaw-300: #9fb3fe;
--color-ravenclaw-400: #8099ef;
--color-ravenclaw-500: #647ee0;
--color-ravenclaw-600: #556bbd;
--color-ravenclaw-700: #445698;
--color-ravenclaw-800: #2f3f71;
--color-ravenclaw-900: #1f2b50;
--color-ravenclaw-950: #0f1835;
}SCSS
$ravenclaw: #0b0559;
$ravenclaw-rgb: 11, 5, 89;
$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);
}