#08111F#08111F
#08111F is a very dark, muted blue. Relative luminance 0.006; OKLCH L 17.7% C 0.032 H 258.7°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).
Color values
| HEX | #08111F |
|---|---|
| RGB | rgb(8, 17, 31) |
| HSL | hsl(217, 59%, 8%) |
| HSV | hsv(217, 74%, 12%) |
| CMYK | cmyk(74.2%, 45.2%, 0%, 87.8%) |
| CIE-LAB | lab(4.98, 0.97, -10.38) |
| CIE-LCH | lch(4.98, 10.43, 275.34°) |
| OKLab | oklab(17.7% -0.0063 -0.0317) |
| OKLCH | oklch(17.7% 0.032 258.7) |
| XYZ | xyz(0.5478, 0.5514, 1.3736) |
| Luminance | 0.0055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.69
Almost Black
#070D0D
ΔE00 8.66
Black
#000000
ΔE00 8.97
Navy (survey)
#01153E
ΔE00 10.51
Dark Navy Blue
#00022E
ΔE00 10.52
Navy Blue
#1B2A4A
ΔE00 10.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08111F #1F1608
analogous
#081C1F #08111F #0B081F
triadic
#08111F #1F0811 #111F08
tetradic
#08111F #1F081C #1F1608 #081F0B
square
#08111F #1F081C #1F1608 #081F0B
split-complementary
#08111F #1F0B08 #1C1F08
monochromatic
#060D18 #060D18 #08111F #152C50 #214680
Accessibility & contrast
On white
18.92
#08111F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#08111F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08111F
18.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08111F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08111F | 1.00 | 18.92 | 1.11 | 18.92 |
| #FFFFFF | 18.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B1220
Deuteranopia (green-blind)
#09101F
Tritanopia (blue-blind)
#011416
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #08111f; /* rgb */ color: rgb(8, 17, 31); /* oklch */ color: oklch(17.7% 0.032 258.7);
Tailwind
colors: {
custom: {
50: '#4a4f5a',
500: '#08111f',
950: '#000000',
},
}SCSS
$custom: #08111f; $custom-light: #4a4f5a; $custom-dark: #000000;
JSON
{
"hex": "#08111f",
"rgb": {
"r": 8,
"g": 17,
"b": 31
},
"hsl": {
"h": 216.522,
"s": 58.974,
"l": 7.647
},
"oklch": {
"l": 0.177,
"c": 0.03229,
"h": 258.7
},
"luminance": 0.00551
}Semantic roles & 50–950 ramp
primary
#08111F
secondary
#5C4726
accent
#A546E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778