#08182F#08182F
#08182F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.0% C 0.051 H 257.6°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).
Color values
| HEX | #08182F |
|---|---|
| RGB | rgb(8, 24, 47) |
| HSL | hsl(215, 71%, 11%) |
| HSV | hsv(215, 83%, 18%) |
| CMYK | cmyk(83%, 48.9%, 0%, 81.6%) |
| CIE-LAB | lab(8.22, 2.93, -17.38) |
| CIE-LCH | lch(8.22, 17.63, 279.55°) |
| OKLab | oklab(20.96% -0.0109 -0.0496) |
| OKLCH | oklch(20.96% 0.051 257.6) |
| XYZ | xyz(0.9397, 0.9100, 2.8149) |
| Luminance | 0.0091 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.89
Navy Blue
#1B2A4A
ΔE00 6.41
Dark
#1B2431
ΔE00 6.45
Dark Navy Blue
#00022E
ΔE00 7.22
Midnight
#03012D
ΔE00 7.67
Dark Navy
#000435
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08182F #2F1F08
analogous
#082B2F #08182F #0B082F
triadic
#08182F #2F0818 #182F08
tetradic
#08182F #2F082B #2F1F08 #082F0B
square
#08182F #2F082B #2F1F08 #082F0B
split-complementary
#08182F #2F0B08 #2B2F08
monochromatic
#040D1A #040D1A #08182F #113363 #1A4D98
Accessibility & contrast
On white
17.77
#08182F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#08182F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08182F
17.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08182F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08182F | 1.00 | 17.77 | 1.18 | 17.77 |
| #FFFFFF | 17.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#07162F
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #08182f; /* rgb */ color: rgb(8, 24, 47); /* oklch */ color: oklch(21.0% 0.051 257.6);
Tailwind
colors: {
custom: {
50: '#4d5467',
500: '#08182f',
950: '#000000',
},
}SCSS
$custom: #08182f; $custom-light: #4d5467; $custom-dark: #000000;
JSON
{
"hex": "#08182f",
"rgb": {
"r": 8,
"g": 24,
"b": 47
},
"hsl": {
"h": 215.385,
"s": 70.909,
"l": 10.784
},
"oklch": {
"l": 0.20957,
"c": 0.05075,
"h": 257.6
},
"luminance": 0.0091
}Semantic roles & 50–950 ramp
primary
#08182F
secondary
#6E5025
accent
#A43AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A