#04151B#04151B
#04151B is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.4% C 0.027 H 222.5°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).
Color values
| HEX | #04151B |
|---|---|
| RGB | rgb(4, 21, 27) |
| HSL | hsl(196, 74%, 6%) |
| HSV | hsv(196, 85%, 11%) |
| CMYK | cmyk(85.2%, 22.2%, 0%, 89.4%) |
| CIE-LAB | lab(5.79, -3.83, -6.10) |
| CIE-LCH | lch(5.79, 7.20, 237.87°) |
| OKLab | oklab(18.38% -0.0198 -0.0181) |
| OKLCH | oklch(18.38% 0.027 222.5) |
| XYZ | xyz(0.5160, 0.6412, 1.1333) |
| Luminance | 0.0064 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Almost Black
#070D0D
ΔE00 5.49
Dark
#1B2431
ΔE00 7.74
Black
#000000
ΔE00 7.82
Gunmetal
#2A3439
ΔE00 9.97
Dark Blue
#00035B
ΔE00 12.43
Onyx
#353839
ΔE00 12.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04151B #1B0A04
analogous
#041B15 #04151B #04091B
triadic
#04151B #1B0415 #151B04
tetradic
#04151B #15041B #1B0A04 #091B04
square
#04151B #15041B #1B0A04 #091B04
split-complementary
#04151B #1B0409 #1B1504
monochromatic
#04151B #04151B #04151B #0C3E50 #146886
Accessibility & contrast
On white
18.61
#04151B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#04151B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04151B
18.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04151B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04151B | 1.00 | 18.61 | 1.13 | 18.61 |
| #FFFFFF | 18.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12141B
Deuteranopia (green-blind)
#0E121B
Tritanopia (blue-blind)
#001717
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #04151b; /* rgb */ color: rgb(4, 21, 27); /* oklch */ color: oklch(18.4% 0.027 222.5);
Tailwind
colors: {
custom: {
50: '#485257',
500: '#04151b',
950: '#000000',
},
}SCSS
$custom: #04151b; $custom-light: #485257; $custom-dark: #000000;
JSON
{
"hex": "#04151b",
"rgb": {
"r": 4,
"g": 21,
"b": 27
},
"hsl": {
"h": 195.652,
"s": 74.194,
"l": 6.078
},
"oklch": {
"l": 0.18375,
"c": 0.02687,
"h": 222.5
},
"luminance": 0.00641
}Semantic roles & 50–950 ramp
primary
#04151B
secondary
#5D2E1E
accent
#6737F1
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878