#08081F#08081F
#08081F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.2% C 0.048 H 279.0°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).
Color values
| HEX | #08081F |
|---|---|
| RGB | rgb(8, 8, 31) |
| HSL | hsl(240, 59%, 8%) |
| HSV | hsv(240, 74%, 12%) |
| CMYK | cmyk(74.2%, 74.2%, 0%, 87.8%) |
| CIE-LAB | lab(2.93, 5.16, -13.49) |
| CIE-LCH | lch(2.93, 14.45, 290.94°) |
| OKLab | oklab(15.16% 0.0075 -0.0473) |
| OKLCH | oklch(15.16% 0.048 279) |
| XYZ | xyz(0.4342, 0.3242, 1.3358) |
| Luminance | 0.0032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 7.26
Dark Navy Blue
#00022E
ΔE00 7.31
Navy (survey)
#01153E
ΔE00 8.69
Very Dark Blue
#000133
ΔE00 8.90
Dark Navy
#000435
ΔE00 8.96
Dark
#1B2431
ΔE00 9.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08081F #1F1F08
analogous
#08131F #08081F #13081F
triadic
#08081F #1F0808 #081F08
tetradic
#08081F #1F0813 #1F1F08 #081F13
square
#08081F #1F0813 #1F1F08 #081F13
split-complementary
#08081F #1F1308 #131F08
monochromatic
#060618 #060618 #08081F #151550 #212180
Accessibility & contrast
On white
19.72
#08081F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#08081F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08081F
19.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08081F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08081F | 1.00 | 19.72 | 1.06 | 19.72 |
| #FFFFFF | 19.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000C20
Deuteranopia (green-blind)
#000A1F
Tritanopia (blue-blind)
#010D12
Achromatopsia (no color)
#0B0B0B
Design tokens & code
CSS
--color: #08081f; /* rgb */ color: rgb(8, 8, 31); /* oklch */ color: oklch(15.2% 0.048 279.0);
Tailwind
colors: {
custom: {
50: '#4a4a5a',
500: '#08081f',
950: '#000000',
},
}SCSS
$custom: #08081f; $custom-light: #4a4a5a; $custom-dark: #000000;
JSON
{
"hex": "#08081f",
"rgb": {
"r": 8,
"g": 8,
"b": 31
},
"hsl": {
"h": 240,
"s": 58.974,
"l": 7.647
},
"oklch": {
"l": 0.15159,
"c": 0.0479,
"h": 279
},
"luminance": 0.00324
}Semantic roles & 50–950 ramp
primary
#08081F
secondary
#5C5C26
accent
#E246E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779