#08172E#08172E
#08172E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.6% C 0.050 H 258.6°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).
Color values
| HEX | #08172E |
|---|---|
| RGB | rgb(8, 23, 46) |
| HSL | hsl(216, 70%, 11%) |
| HSV | hsv(216, 83%, 18%) |
| CMYK | cmyk(82.6%, 50%, 0%, 82%) |
| CIE-LAB | lab(7.78, 3.25, -17.34) |
| CIE-LCH | lch(7.78, 17.64, 280.61°) |
| OKLab | oklab(20.59% -0.01 -0.0495) |
| OKLCH | oklch(20.59% 0.05 258.6) |
| XYZ | xyz(0.8995, 0.8616, 2.7031) |
| Luminance | 0.0086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.81
Navy Blue
#1B2A4A
ΔE00 6.63
Dark
#1B2431
ΔE00 6.74
Dark Navy Blue
#00022E
ΔE00 6.92
Midnight
#03012D
ΔE00 7.35
Dark Navy
#000435
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08172E #2E1F08
analogous
#082A2E #08172E #0C082E
triadic
#08172E #2E0817 #172E08
tetradic
#08172E #2E082A #2E1F08 #082E0C
square
#08172E #2E082A #2E1F08 #082E0C
split-complementary
#08172E #2E0C08 #2A2E08
monochromatic
#050D1A #050D1A #08172E #113162 #1A4B96
Accessibility & contrast
On white
17.91
#08172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#08172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08172E
17.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08172E | 1.00 | 17.91 | 1.17 | 17.91 |
| #FFFFFF | 17.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#07152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #08172e; /* rgb */ color: rgb(8, 23, 46); /* oklch */ color: oklch(20.6% 0.050 258.6);
Tailwind
colors: {
custom: {
50: '#4d5367',
500: '#08172e',
950: '#000000',
},
}SCSS
$custom: #08172e; $custom-light: #4d5367; $custom-dark: #000000;
JSON
{
"hex": "#08172e",
"rgb": {
"r": 8,
"g": 23,
"b": 46
},
"hsl": {
"h": 216.316,
"s": 70.37,
"l": 10.588
},
"oklch": {
"l": 0.20594,
"c": 0.05046,
"h": 258.6
},
"luminance": 0.00862
}Semantic roles & 50–950 ramp
primary
#08172E
secondary
#6D5025
accent
#A73BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A