#040F0B#040F0B
#040F0B is a very dark, muted teal. Relative luminance 0.004; OKLCH L 15.5% C 0.020 H 170.8°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).
Color values
| HEX | #040F0B |
|---|---|
| RGB | rgb(4, 15, 11) |
| HSL | hsl(158, 58%, 4%) |
| HSV | hsv(158, 73%, 6%) |
| CMYK | cmyk(73.3%, 0%, 26.7%, 94.1%) |
| CIE-LAB | lab(3.54, -3.72, 0.70) |
| CIE-LCH | lch(3.54, 3.79, 169.32°) |
| OKLab | oklab(15.51% -0.0199 0.0032) |
| OKLCH | oklch(15.51% 0.02 170.8) |
| XYZ | xyz(0.2813, 0.3916, 0.3773) |
| Luminance | 0.0039 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 2.92
Black
#000000
ΔE00 5.40
Dark
#1B2431
ΔE00 11.98
Gunmetal
#2A3439
ΔE00 12.22
Charcoal (survey)
#343837
ΔE00 12.87
Dark Grey
#363737
ΔE00 13.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#040F0B #0F0408
analogous
#040F05 #040F0B #040D0F
triadic
#040F0B #0B040F #0F0B04
tetradic
#040F0B #05040F #0F0408 #0D0F04
square
#040F0B #05040F #0F0408 #0D0F04
split-complementary
#040F0B #0F040D #0F0504
monochromatic
#061812 #061812 #061812 #113F2E #1E7052
Accessibility & contrast
On white
19.47
#040F0B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.08
#040F0B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #040F0B
19.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##040F0B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##040F0B | 1.00 | 19.47 | 1.08 | 19.47 |
| #FFFFFF | 19.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E0E0B
Deuteranopia (green-blind)
#0C0C0B
Tritanopia (blue-blind)
#020F0E
Achromatopsia (no color)
#0D0D0D
Design tokens & code
CSS
--color: #040f0b; /* rgb */ color: rgb(4, 15, 11); /* oklch */ color: oklch(15.5% 0.020 170.8);
Tailwind
colors: {
custom: {
50: '#484e4c',
500: '#040f0b',
950: '#000000',
},
}SCSS
$custom: #040f0b; $custom-light: #484e4c; $custom-dark: #000000;
JSON
{
"hex": "#040f0b",
"rgb": {
"r": 4,
"g": 15,
"b": 11
},
"hsl": {
"h": 158.182,
"s": 57.895,
"l": 3.725
},
"oklch": {
"l": 0.15508,
"c": 0.02016,
"h": 170.8
},
"luminance": 0.00392
}Semantic roles & 50–950 ramp
primary
#040F0B
secondary
#4E2131
accent
#477FE1
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777