#04091F#04091F
#04091F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.0% C 0.048 H 267.7°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).
Color values
| HEX | #04091F |
|---|---|
| RGB | rgb(4, 9, 31) |
| HSL | hsl(229, 77%, 7%) |
| HSV | hsv(229, 87%, 12%) |
| CMYK | cmyk(87.1%, 71%, 0%, 87.8%) |
| CIE-LAB | lab(2.89, 3.72, -13.57) |
| CIE-LCH | lch(2.89, 14.07, 285.32°) |
| OKLab | oklab(14.98% -0.0019 -0.0479) |
| OKLCH | oklch(14.98% 0.048 267.7) |
| XYZ | xyz(0.3950, 0.3201, 1.3370) |
| Luminance | 0.0032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Navy Blue
#00022E
ΔE00 7.56
Midnight
#03012D
ΔE00 7.71
Dark
#1B2431
ΔE00 8.37
Navy (survey)
#01153E
ΔE00 8.55
Very Dark Blue
#000133
ΔE00 8.99
Dark Navy
#000435
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04091F #1F1A04
analogous
#04171F #04091F #0D041F
triadic
#04091F #1F0409 #091F04
tetradic
#04091F #1F0417 #1F1A04 #041F0D
square
#04091F #1F0417 #1F1A04 #041F0D
split-complementary
#04091F #1F0D04 #171F04
monochromatic
#03081B #03081B #04091F #0B1955 #12288B
Accessibility & contrast
On white
19.74
#04091F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#04091F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04091F
19.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04091F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04091F | 1.00 | 19.74 | 1.06 | 19.74 |
| #FFFFFF | 19.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#010C20
Deuteranopia (green-blind)
#00091F
Tritanopia (blue-blind)
#000E12
Achromatopsia (no color)
#0B0B0B
Design tokens & code
CSS
--color: #04091f; /* rgb */ color: rgb(4, 9, 31); /* oklch */ color: oklch(15.0% 0.048 267.7);
Tailwind
colors: {
custom: {
50: '#484b5a',
500: '#04091f',
950: '#000000',
},
}SCSS
$custom: #04091f; $custom-light: #484b5a; $custom-dark: #000000;
JSON
{
"hex": "#04091f",
"rgb": {
"r": 4,
"g": 9,
"b": 31
},
"hsl": {
"h": 228.889,
"s": 77.143,
"l": 6.863
},
"oklch": {
"l": 0.14984,
"c": 0.04793,
"h": 267.7
},
"luminance": 0.0032
}Semantic roles & 50–950 ramp
primary
#04091F
secondary
#62551D
accent
#D034F4
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779