#040F0F#040F0F
#040F0F is a very dark, near-neutral teal. Relative luminance 0.004; OKLCH L 15.7% C 0.018 H 195.5°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).
Color values
| HEX | #040F0F |
|---|---|
| RGB | rgb(4, 15, 15) |
| HSL | hsl(180, 58%, 4%) |
| HSV | hsv(180, 73%, 6%) |
| CMYK | cmyk(73.3%, 0%, 0%, 94.1%) |
| CIE-LAB | lab(3.63, -3.07, -1.08) |
| CIE-LCH | lch(3.63, 3.25, 199.42°) |
| OKLab | oklab(15.69% -0.0173 -0.0048) |
| OKLCH | oklch(15.69% 0.018 195.5) |
| XYZ | xyz(0.3071, 0.4019, 0.5132) |
| Luminance | 0.0040 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 1.91
Black
#000000
ΔE00 4.77
Dark
#1B2431
ΔE00 10.43
Gunmetal
#2A3439
ΔE00 11.54
Charcoal (survey)
#343837
ΔE00 12.73
Onyx
#353839
ΔE00 13.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#040F0F #0F0404
analogous
#040F09 #040F0F #04090F
triadic
#040F0F #0F040F #0F0F04
tetradic
#040F0F #09040F #0F0404 #090F04
square
#040F0F #09040F #0F0404 #090F04
split-complementary
#040F0F #0F0409 #0F0904
monochromatic
#061818 #061818 #061818 #113F3F #1E7070
Accessibility & contrast
On white
19.44
#040F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.08
#040F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #040F0F
19.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##040F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##040F0F | 1.00 | 19.44 | 1.08 | 19.44 |
| #FFFFFF | 19.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E0E0F
Deuteranopia (green-blind)
#0B0C0F
Tritanopia (blue-blind)
#01100F
Achromatopsia (no color)
#0D0D0D
Design tokens & code
CSS
--color: #040f0f; /* rgb */ color: rgb(4, 15, 15); /* oklch */ color: oklch(15.7% 0.018 195.5);
Tailwind
colors: {
custom: {
50: '#484e4e',
500: '#040f0f',
950: '#000000',
},
}SCSS
$custom: #040f0f; $custom-light: #484e4e; $custom-dark: #000000;
JSON
{
"hex": "#040f0f",
"rgb": {
"r": 4,
"g": 15,
"b": 15
},
"hsl": {
"h": 180,
"s": 57.895,
"l": 3.725
},
"oklch": {
"l": 0.1569,
"c": 0.01795,
"h": 195.5
},
"luminance": 0.00402
}Semantic roles & 50–950 ramp
primary
#040F0F
secondary
#4E2121
accent
#4747E1
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777