#08172F#08172F
#08172F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.7% C 0.052 H 259.3°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).
Color values
| HEX | #08172F |
|---|---|
| RGB | rgb(8, 23, 47) |
| HSL | hsl(217, 71%, 11%) |
| HSV | hsv(217, 83%, 18%) |
| CMYK | cmyk(83%, 51.1%, 0%, 81.6%) |
| CIE-LAB | lab(7.86, 3.71, -17.96) |
| CIE-LCH | lch(7.86, 18.34, 281.68°) |
| OKLab | oklab(20.67% -0.0097 -0.0513) |
| OKLCH | oklch(20.67% 0.052 259.3) |
| XYZ | xyz(0.9194, 0.8696, 2.8082) |
| Luminance | 0.0087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.40
Navy Blue
#1B2A4A
ΔE00 6.45
Dark Navy Blue
#00022E
ΔE00 6.56
Midnight
#03012D
ΔE00 6.98
Dark
#1B2431
ΔE00 7.12
Dark Navy
#000435
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08172F #2F2008
analogous
#082A2F #08172F #0C082F
triadic
#08172F #2F0817 #172F08
tetradic
#08172F #2F082A #2F2008 #082F0C
square
#08172F #2F082A #2F2008 #082F0C
split-complementary
#08172F #2F0C08 #2A2F08
monochromatic
#040D1A #040D1A #08172F #113163 #1A4A98
Accessibility & contrast
On white
17.89
#08172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#08172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08172F
17.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08172F | 1.00 | 17.89 | 1.17 | 17.89 |
| #FFFFFF | 17.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C1930
Deuteranopia (green-blind)
#06162F
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #08172f; /* rgb */ color: rgb(8, 23, 47); /* oklch */ color: oklch(20.7% 0.052 259.3);
Tailwind
colors: {
custom: {
50: '#4d5367',
500: '#08172f',
950: '#000000',
},
}SCSS
$custom: #08172f; $custom-light: #4d5367; $custom-dark: #000000;
JSON
{
"hex": "#08172f",
"rgb": {
"r": 8,
"g": 23,
"b": 47
},
"hsl": {
"h": 216.923,
"s": 70.909,
"l": 10.784
},
"oklch": {
"l": 0.20674,
"c": 0.05219,
"h": 259.3
},
"luminance": 0.0087
}Semantic roles & 50–950 ramp
primary
#08172F
secondary
#6E5225
accent
#A93AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A