#04061E#04061E
#04061E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 13.9% C 0.052 H 272.4°. Best body text is #FFFFFF at 20.00:1 contrast (WCAG AA passes).
Color values
| HEX | #04061E |
|---|---|
| RGB | rgb(4, 6, 30) |
| HSL | hsl(235, 76%, 7%) |
| HSV | hsv(235, 87%, 12%) |
| CMYK | cmyk(86.7%, 80%, 0%, 88.2%) |
| CIE-LAB | lab(2.26, 4.59, -13.73) |
| CIE-LCH | lch(2.26, 14.48, 288.48°) |
| OKLab | oklab(13.94% 0.0022 -0.0521) |
| OKLCH | oklch(13.94% 0.052 272.4) |
| XYZ | xyz(0.3495, 0.2498, 1.2578) |
| Luminance | 0.0025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Navy Blue
#00022E
ΔE00 7.24
Midnight
#03012D
ΔE00 7.28
Navy (survey)
#01153E
ΔE00 8.62
Very Dark Blue
#000133
ΔE00 8.78
Dark Navy
#000435
ΔE00 8.85
Dark
#1B2431
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04061E #1E1C04
analogous
#04131E #04061E #0F041E
triadic
#04061E #1E0406 #061E04
tetradic
#04061E #1E0413 #1E1C04 #041E0F
square
#04061E #1E0413 #1E1C04 #041E0F
split-complementary
#04061E #1E0F04 #131E04
monochromatic
#04051B #04051B #04061E #0B1154 #121C8A
Accessibility & contrast
On white
20.00
#04061E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.05
#04061E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04061E
20.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04061E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04061E | 1.00 | 20.00 | 1.05 | 20.00 |
| #FFFFFF | 20.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 20.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00091F
Deuteranopia (green-blind)
#00071E
Tritanopia (blue-blind)
#000C10
Achromatopsia (no color)
#080808
Design tokens & code
CSS
--color: #04061e; /* rgb */ color: rgb(4, 6, 30); /* oklch */ color: oklch(13.9% 0.052 272.4);
Tailwind
colors: {
custom: {
50: '#484959',
500: '#04061e',
950: '#000000',
},
}SCSS
$custom: #04061e; $custom-light: #484959; $custom-dark: #000000;
JSON
{
"hex": "#04061e",
"rgb": {
"r": 4,
"g": 6,
"b": 30
},
"hsl": {
"h": 235.385,
"s": 76.471,
"l": 6.667
},
"oklch": {
"l": 0.13936,
"c": 0.05214,
"h": 272.4
},
"luminance": 0.0025
}Semantic roles & 50–950 ramp
primary
#04061E
secondary
#615B1D
accent
#E435F3
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000003
muted
#777778