#08151F#08151F
#08151F is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.9% C 0.028 H 242.9°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).
Color values
| HEX | #08151F |
|---|---|
| RGB | rgb(8, 21, 31) |
| HSL | hsl(206, 59%, 8%) |
| HSV | hsv(206, 74%, 12%) |
| CMYK | cmyk(74.2%, 32.3%, 0%, 87.8%) |
| CIE-LAB | lab(6.20, -1.53, -8.53) |
| CIE-LCH | lch(6.20, 8.67, 259.85°) |
| OKLab | oklab(18.92% -0.0126 -0.0246) |
| OKLCH | oklch(18.92% 0.028 242.9) |
| XYZ | xyz(0.6155, 0.6868, 1.3962) |
| Luminance | 0.0069 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.40
Almost Black
#070D0D
ΔE00 6.84
Black
#000000
ΔE00 8.22
Gunmetal
#2A3439
ΔE00 10.25
Navy Blue
#1B2A4A
ΔE00 12.11
Dark Blue Grey
#1F3B4D
ΔE00 12.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08151F #1F1208
analogous
#081F1D #08151F #08091F
triadic
#08151F #1F0815 #151F08
tetradic
#08151F #1D081F #1F1208 #091F08
square
#08151F #1D081F #1F1208 #091F08
split-complementary
#08151F #1F0809 #1F1D08
monochromatic
#061018 #061018 #08151F #153650 #215780
Accessibility & contrast
On white
18.46
#08151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#08151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08151F
18.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08151F | 1.00 | 18.46 | 1.14 | 18.46 |
| #FFFFFF | 18.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#11151F
Deuteranopia (green-blind)
#0E131F
Tritanopia (blue-blind)
#001718
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #08151f; /* rgb */ color: rgb(8, 21, 31); /* oklch */ color: oklch(18.9% 0.028 242.9);
Tailwind
colors: {
custom: {
50: '#4a525a',
500: '#08151f',
950: '#000000',
},
}SCSS
$custom: #08151f; $custom-light: #4a525a; $custom-dark: #000000;
JSON
{
"hex": "#08151f",
"rgb": {
"r": 8,
"g": 21,
"b": 31
},
"hsl": {
"h": 206.087,
"s": 58.974,
"l": 7.647
},
"oklch": {
"l": 0.18922,
"c": 0.02764,
"h": 242.9
},
"luminance": 0.00687
}Semantic roles & 50–950 ramp
primary
#08151F
secondary
#5C3E26
accent
#8A46E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878