#04071B#04071B
#04071B is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.0% C 0.044 H 270.6°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).
Color values
| HEX | #04071B |
|---|---|
| RGB | rgb(4, 7, 27) |
| HSL | hsl(232, 74%, 6%) |
| HSV | hsv(232, 85%, 11%) |
| CMYK | cmyk(85.2%, 74.1%, 0%, 89.4%) |
| CIE-LAB | lab(2.32, 3.26, -11.24) |
| CIE-LCH | lch(2.32, 11.70, 286.18°) |
| OKLab | oklab(13.95% 0.0005 -0.0443) |
| OKLCH | oklch(13.95% 0.044 270.6) |
| XYZ | xyz(0.3238, 0.2569, 1.0692) |
| Luminance | 0.0026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 8.25
Dark Navy Blue
#00022E
ΔE00 9.08
Midnight
#03012D
ΔE00 9.16
Black
#000000
ΔE00 9.70
Navy (survey)
#01153E
ΔE00 10.18
Almost Black
#070D0D
ΔE00 10.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04071B #1B1804
analogous
#04121B #04071B #0C041B
triadic
#04071B #1B0407 #071B04
tetradic
#04071B #1B0412 #1B1804 #041B0C
square
#04071B #1B0412 #1B1804 #041B0C
split-complementary
#04071B #1B0C04 #121B04
monochromatic
#04071B #04071B #04071B #0C1550 #142386
Accessibility & contrast
On white
19.97
#04071B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.05
#04071B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04071B
19.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04071B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04071B | 1.00 | 19.97 | 1.05 | 19.97 |
| #FFFFFF | 19.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#010A1C
Deuteranopia (green-blind)
#00081B
Tritanopia (blue-blind)
#000B0F
Achromatopsia (no color)
#080808
Design tokens & code
CSS
--color: #04071b; /* rgb */ color: rgb(4, 7, 27); /* oklch */ color: oklch(14.0% 0.044 270.6);
Tailwind
colors: {
custom: {
50: '#484a57',
500: '#04071b',
950: '#000000',
},
}SCSS
$custom: #04071b; $custom-light: #484a57; $custom-dark: #000000;
JSON
{
"hex": "#04071b",
"rgb": {
"r": 4,
"g": 7,
"b": 27
},
"hsl": {
"h": 232.174,
"s": 74.194,
"l": 6.078
},
"oklch": {
"l": 0.13951,
"c": 0.04432,
"h": 270.6
},
"luminance": 0.00257
}Semantic roles & 50–950 ramp
primary
#04071B
secondary
#5D551E
accent
#D937F1
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778