#08101F#08101F
#08101F is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.4% C 0.034 H 261.9°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).
Color values
| HEX | #08101F |
|---|---|
| RGB | rgb(8, 16, 31) |
| HSL | hsl(219, 59%, 8%) |
| HSV | hsv(219, 74%, 12%) |
| CMYK | cmyk(74.2%, 48.4%, 0%, 87.8%) |
| CIE-LAB | lab(4.71, 1.53, -10.80) |
| CIE-LCH | lch(4.71, 10.91, 278.08°) |
| OKLab | oklab(17.4% -0.0048 -0.0334) |
| OKLCH | oklch(17.4% 0.034 261.9) |
| XYZ | xyz(0.5327, 0.5211, 1.3686) |
| Luminance | 0.0052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 6.05
Almost Black
#070D0D
ΔE00 9.15
Black
#000000
ΔE00 9.26
Dark Navy Blue
#00022E
ΔE00 10.02
Navy (survey)
#01153E
ΔE00 10.18
Midnight
#03012D
ΔE00 10.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08101F #1F1708
analogous
#081B1F #08101F #0B081F
triadic
#08101F #1F0810 #101F08
tetradic
#08101F #1F081B #1F1708 #081F0B
square
#08101F #1F081B #1F1708 #081F0B
split-complementary
#08101F #1F0B08 #1B1F08
monochromatic
#060D18 #060D18 #08101F #152950 #214280
Accessibility & contrast
On white
19.02
#08101F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.10
#08101F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08101F
19.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08101F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08101F | 1.00 | 19.02 | 1.10 | 19.02 |
| #FFFFFF | 19.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A1120
Deuteranopia (green-blind)
#070F1F
Tritanopia (blue-blind)
#011315
Achromatopsia (no color)
#101010
Design tokens & code
CSS
--color: #08101f; /* rgb */ color: rgb(8, 16, 31); /* oklch */ color: oklch(17.4% 0.034 261.9);
Tailwind
colors: {
custom: {
50: '#4a4e5a',
500: '#08101f',
950: '#000000',
},
}SCSS
$custom: #08101f; $custom-light: #4a4e5a; $custom-dark: #000000;
JSON
{
"hex": "#08101f",
"rgb": {
"r": 8,
"g": 16,
"b": 31
},
"hsl": {
"h": 219.13,
"s": 58.974,
"l": 7.647
},
"oklch": {
"l": 0.17402,
"c": 0.03377,
"h": 261.9
},
"luminance": 0.00521
}Semantic roles & 50–950 ramp
primary
#08101F
secondary
#5C4A26
accent
#AC46E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778