#08071E#08071E
#08071E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.8% C 0.048 H 281.0°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).
Color values
| HEX | #08071E |
|---|---|
| RGB | rgb(8, 7, 30) |
| HSL | hsl(243, 62%, 7%) |
| HSV | hsv(243, 77%, 12%) |
| CMYK | cmyk(73.3%, 76.7%, 0%, 88.2%) |
| CIE-LAB | lab(2.69, 5.24, -13.07) |
| CIE-LCH | lch(2.69, 14.08, 291.84°) |
| OKLab | oklab(14.77% 0.0092 -0.0473) |
| OKLCH | oklch(14.77% 0.048 281) |
| XYZ | xyz(0.4104, 0.2973, 1.2638) |
| Luminance | 0.0030 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 7.49
Dark Navy Blue
#00022E
ΔE00 7.56
Navy (survey)
#01153E
ΔE00 9.03
Very Dark Blue
#000133
ΔE00 9.17
Dark Navy
#000435
ΔE00 9.25
Dark
#1B2431
ΔE00 9.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08071E #1D1E07
analogous
#07121E #08071E #14071E
triadic
#08071E #1E0807 #071E08
tetradic
#08071E #1E0712 #1D1E07 #071E14
square
#08071E #1E0712 #1D1E07 #071E14
split-complementary
#08071E #1E1407 #121E07
monochromatic
#070619 #070619 #08071E #151350 #221E81
Accessibility & contrast
On white
19.82
#08071E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#08071E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08071E
19.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08071E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08071E | 1.00 | 19.82 | 1.06 | 19.82 |
| #FFFFFF | 19.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000B1F
Deuteranopia (green-blind)
#00091E
Tritanopia (blue-blind)
#020C11
Achromatopsia (no color)
#0A0A0A
Design tokens & code
CSS
--color: #08071e; /* rgb */ color: rgb(8, 7, 30); /* oklch */ color: oklch(14.8% 0.048 281.0);
Tailwind
colors: {
custom: {
50: '#4a4a59',
500: '#08071e',
950: '#000000',
},
}SCSS
$custom: #08071e; $custom-light: #4a4a59; $custom-dark: #000000;
JSON
{
"hex": "#08071e",
"rgb": {
"r": 8,
"g": 7,
"b": 30
},
"hsl": {
"h": 242.609,
"s": 62.162,
"l": 7.255
},
"oklch": {
"l": 0.14765,
"c": 0.04821,
"h": 281
},
"luminance": 0.00297
}Semantic roles & 50–950 ramp
primary
#08071E
secondary
#5A5C24
accent
#E543DE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778