Nearest named color · #080954
#080954
Nearest named color: Ravenclaw
#080954 (rgb(8 9 84), hsl(239 83% 18%), oklch(0.22 0.127 269)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#080954
oklch(0.22 0.127 269)
Color conversions
- HEX
- #080954
- RGB
- rgb(8 9 84)
- HSL
- hsl(239 83% 18%)
- HWB
- hwb(239 3% 67%)
- OKLCH
- oklch(0.22 0.127 269)
- OKLab
- oklab(0.22 -0.002 -0.127)
- CIE Lab
- lab(7.11 24.63 -45.27)
- LCH
- lch(7.11 51.54 298.5)
- CMYK
- cmyk(90% 89% 0% 67%)
Tints · Shades · Tones
Tints
- 172565
- 2B3C77
- 425388
- 5A6A99
- 7382AA
- 8E9ABB
- A9B3CC
- C5CCDD
- E2E5EE
Shades
- 060748
- 04053C
- 030331
- 020226
- 01011B
- 010111
- 000008
- 000002
- 000000
Tones
- 0F1A5A
- 19265F
- 243264
- 303E69
- 3C496D
- 495471
- 565F75
- 646A79
- 72757D
Color harmonies
Complementary +180°
- 080954
Ravenclaw
- 231900
≈ Cannon Black
Analogous -30° +30°
- 080954
Ravenclaw
- 001D2F
≈ Oxford by Night
- 240048
≈ Your Darkness
Triadic +120° +240°
- 080954
Ravenclaw
- 3A0000
≈ Dark Maroon
- 002209
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 080954
Ravenclaw
- 2C1300
≈ Shadow Play
- 181E00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.83:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #080954;
--ravenclaw-rgb: 8 9 84;
--ravenclaw-oklch: oklch(0.22 0.127 269);
}
.element {
color: var(--ravenclaw);
background-color: hsl(239 83% 18%);
border-color: oklch(0.22 0.127 269);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #080954;
--color-ravenclaw-50: #e7f4ff;
--color-ravenclaw-100: #d8e6ff;
--color-ravenclaw-200: #c0d2ff;
--color-ravenclaw-300: #9fb4f9;
--color-ravenclaw-400: #809aea;
--color-ravenclaw-500: #6480da;
--color-ravenclaw-600: #556db8;
--color-ravenclaw-700: #435794;
--color-ravenclaw-800: #2e406e;
--color-ravenclaw-900: #1f2c4e;
--color-ravenclaw-950: #0f1934;
}SCSS
$ravenclaw: #080954;
$ravenclaw-rgb: 8, 9, 84;
$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);
}