#04071C#04071C
#04071C is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.1% C 0.046 H 270.7°. Best body text is #FFFFFF at 19.95:1 contrast (WCAG AA passes).
Color values
| HEX | #04071C |
|---|---|
| RGB | rgb(4, 7, 28) |
| HSL | hsl(233, 75%, 6%) |
| HSV | hsv(233, 86%, 11%) |
| CMYK | cmyk(85.7%, 75%, 0%, 89%) |
| CIE-LAB | lab(2.36, 3.56, -11.98) |
| CIE-LCH | lch(2.36, 12.50, 286.56°) |
| OKLab | oklab(14.05% 0.0006 -0.0462) |
| OKLCH | oklch(14.05% 0.046 270.7) |
| XYZ | xyz(0.3356, 0.2616, 1.1312) |
| Luminance | 0.0026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 8.43
Dark Navy Blue
#00022E
ΔE00 8.54
Midnight
#03012D
ΔE00 8.62
Navy (survey)
#01153E
ΔE00 9.68
Very Dark Blue
#000133
ΔE00 10.03
Dark Navy
#000435
ΔE00 10.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04071C #1C1904
analogous
#04131C #04071C #0D041C
triadic
#04071C #1C0407 #071C04
tetradic
#04071C #1C0413 #1C1904 #041C0D
square
#04071C #1C0413 #1C1904 #041C0D
split-complementary
#04071C #1C0D04 #131C04
monochromatic
#04071B #04071B #04071C #0C1452 #132287
Accessibility & contrast
On white
19.95
#04071C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.05
#04071C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04071C
19.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04071C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04071C | 1.00 | 19.95 | 1.05 | 19.95 |
| #FFFFFF | 19.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000A1D
Deuteranopia (green-blind)
#00081C
Tritanopia (blue-blind)
#000C10
Achromatopsia (no color)
#090909
Design tokens & code
CSS
--color: #04071c; /* rgb */ color: rgb(4, 7, 28); /* oklch */ color: oklch(14.1% 0.046 270.7);
Tailwind
colors: {
custom: {
50: '#484a58',
500: '#04071c',
950: '#000000',
},
}SCSS
$custom: #04071c; $custom-light: #484a58; $custom-dark: #000000;
JSON
{
"hex": "#04071c",
"rgb": {
"r": 4,
"g": 7,
"b": 28
},
"hsl": {
"h": 232.5,
"s": 75,
"l": 6.275
},
"oklch": {
"l": 0.14054,
"c": 0.04622,
"h": 270.7
},
"luminance": 0.00262
}Semantic roles & 50–950 ramp
primary
#04071C
secondary
#5E561D
accent
#DA36F2
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778