#04091E#04091E
#04091E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.9% C 0.046 H 267.4°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).
Color values
| HEX | #04091E |
|---|---|
| RGB | rgb(4, 9, 30) |
| HSL | hsl(228, 76%, 7%) |
| HSV | hsv(228, 87%, 12%) |
| CMYK | cmyk(86.7%, 70%, 0%, 88.2%) |
| CIE-LAB | lab(2.84, 3.39, -12.85) |
| CIE-LCH | lch(2.84, 13.29, 284.77°) |
| OKLab | oklab(14.88% -0.002 -0.046) |
| OKLCH | oklch(14.88% 0.046 267.4) |
| XYZ | xyz(0.3820, 0.3149, 1.2687) |
| Luminance | 0.0032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Navy Blue
#00022E
ΔE00 8.07
Dark
#1B2431
ΔE00 8.13
Midnight
#03012D
ΔE00 8.21
Navy (survey)
#01153E
ΔE00 9.01
Very Dark Blue
#000133
ΔE00 9.48
Dark Navy
#000435
ΔE00 9.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04091E #1E1904
analogous
#04161E #04091E #0C041E
triadic
#04091E #1E0409 #091E04
tetradic
#04091E #1E0416 #1E1904 #041E0C
square
#04091E #1E0416 #1E1904 #041E0C
split-complementary
#04091E #1E0C04 #161E04
monochromatic
#04081B #04081B #04091E #0B1954 #12298A
Accessibility & contrast
On white
19.76
#04091E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#04091E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04091E
19.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04091E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04091E | 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)
#010C1F
Deuteranopia (green-blind)
#00091E
Tritanopia (blue-blind)
#000E12
Achromatopsia (no color)
#0A0A0A
Design tokens & code
CSS
--color: #04091e; /* rgb */ color: rgb(4, 9, 30); /* oklch */ color: oklch(14.9% 0.046 267.4);
Tailwind
colors: {
custom: {
50: '#484b59',
500: '#04091e',
950: '#000000',
},
}SCSS
$custom: #04091e; $custom-light: #484b59; $custom-dark: #000000;
JSON
{
"hex": "#04091e",
"rgb": {
"r": 4,
"g": 9,
"b": 30
},
"hsl": {
"h": 228.462,
"s": 76.471,
"l": 6.667
},
"oklch": {
"l": 0.14884,
"c": 0.04606,
"h": 267.4
},
"luminance": 0.00315
}Semantic roles & 50–950 ramp
primary
#04091E
secondary
#61541D
accent
#CE35F3
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778