#040F0D#040F0D
#040F0D is a very dark, near-neutral teal. Relative luminance 0.004; OKLCH L 15.6% C 0.019 H 182.3°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).
Color values
| HEX | #040F0D |
|---|---|
| RGB | rgb(4, 15, 13) |
| HSL | hsl(169, 58%, 4%) |
| HSV | hsv(169, 73%, 6%) |
| CMYK | cmyk(73.3%, 0%, 13.3%, 94.1%) |
| CIE-LAB | lab(3.58, -3.41, -0.14) |
| CIE-LCH | lch(3.58, 3.42, 182.42°) |
| OKLab | oklab(15.6% -0.0186 -0.0008) |
| OKLCH | oklch(15.6% 0.019 182.3) |
| XYZ | xyz(0.2935, 0.3965, 0.4418) |
| Luminance | 0.0040 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 2.33
Black
#000000
ΔE00 5.04
Dark
#1B2431
ΔE00 11.23
Gunmetal
#2A3439
ΔE00 11.87
Charcoal (survey)
#343837
ΔE00 12.78
Dark Grey
#363737
ΔE00 13.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#040F0D #0F0406
analogous
#040F07 #040F0D #040B0F
triadic
#040F0D #0D040F #0F0D04
tetradic
#040F0D #07040F #0F0406 #0B0F04
square
#040F0D #07040F #0F0406 #0B0F04
split-complementary
#040F0D #0F040B #0F0704
monochromatic
#061815 #061815 #061815 #113F37 #1E7061
Accessibility & contrast
On white
19.46
#040F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.08
#040F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #040F0D
19.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##040F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##040F0D | 1.00 | 19.46 | 1.08 | 19.46 |
| #FFFFFF | 19.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E0E0D
Deuteranopia (green-blind)
#0C0C0D
Tritanopia (blue-blind)
#010F0E
Achromatopsia (no color)
#0D0D0D
Design tokens & code
CSS
--color: #040f0d; /* rgb */ color: rgb(4, 15, 13); /* oklch */ color: oklch(15.6% 0.019 182.3);
Tailwind
colors: {
custom: {
50: '#484e4d',
500: '#040f0d',
950: '#000000',
},
}SCSS
$custom: #040f0d; $custom-light: #484e4d; $custom-dark: #000000;
JSON
{
"hex": "#040f0d",
"rgb": {
"r": 4,
"g": 15,
"b": 13
},
"hsl": {
"h": 169.091,
"s": 57.895,
"l": 3.725
},
"oklch": {
"l": 0.15595,
"c": 0.0186,
"h": 182.3
},
"luminance": 0.00397
}Semantic roles & 50–950 ramp
primary
#040F0D
secondary
#4E2129
accent
#4763E1
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777