#040A19#040A19
#040A19 is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.7% C 0.035 H 262.6°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).
Color values
| HEX | #040A19 |
|---|---|
| RGB | rgb(4, 10, 25) |
| HSL | hsl(223, 72%, 6%) |
| HSV | hsv(223, 84%, 10%) |
| CMYK | cmyk(84%, 60%, 0%, 90.2%) |
| CIE-LAB | lab(2.83, 1.49, -8.89) |
| CIE-LCH | lch(2.83, 9.01, 279.53°) |
| OKLab | oklab(14.72% -0.0045 -0.0344) |
| OKLCH | oklch(14.72% 0.035 262.6) |
| XYZ | xyz(0.3340, 0.3131, 0.9623) |
| Luminance | 0.0031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 7.14
Black
#000000
ΔE00 7.77
Almost Black
#070D0D
ΔE00 8.00
Dark Navy Blue
#00022E
ΔE00 11.11
Midnight
#03012D
ΔE00 11.28
Navy (survey)
#01153E
ΔE00 11.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#040A19 #191304
analogous
#041419 #040A19 #080419
triadic
#040A19 #19040A #0A1904
tetradic
#040A19 #190414 #191304 #041908
square
#040A19 #190414 #191304 #041908
split-complementary
#040A19 #190804 #141904
monochromatic
#040B1A #040B1A #040B1A #0C1F4E #153483
Accessibility & contrast
On white
19.76
#040A19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#040A19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #040A19
19.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##040A19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##040A19 | 1.00 | 19.76 | 1.06 | 19.76 |
| #FFFFFF | 19.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#050B1A
Deuteranopia (green-blind)
#030919
Tritanopia (blue-blind)
#000D10
Achromatopsia (no color)
#0A0A0A
Design tokens & code
CSS
--color: #040a19; /* rgb */ color: rgb(4, 10, 25); /* oklch */ color: oklch(14.7% 0.035 262.6);
Tailwind
colors: {
custom: {
50: '#484b55',
500: '#040a19',
950: '#000000',
},
}SCSS
$custom: #040a19; $custom-light: #484b55; $custom-dark: #000000;
JSON
{
"hex": "#040a19",
"rgb": {
"r": 4,
"g": 10,
"b": 25
},
"hsl": {
"h": 222.857,
"s": 72.414,
"l": 5.686
},
"oklch": {
"l": 0.14722,
"c": 0.03472,
"h": 262.6
},
"luminance": 0.00313
}Semantic roles & 50–950 ramp
primary
#040A19
secondary
#5B4A1E
accent
#BB39EF
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000103
muted
#777778