#04152E#04152E
#04152E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.8% C 0.056 H 257.0°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).
Color values
| HEX | #04152E |
|---|---|
| RGB | rgb(4, 21, 46) |
| HSL | hsl(216, 84%, 10%) |
| HSV | hsv(216, 91%, 18%) |
| CMYK | cmyk(91.3%, 54.3%, 0%, 82%) |
| CIE-LAB | lab(6.86, 3.67, -18.82) |
| CIE-LCH | lch(6.86, 19.18, 281.02°) |
| OKLab | oklab(19.77% -0.0125 -0.0543) |
| OKLCH | oklch(19.77% 0.056 257) |
| XYZ | xyz(0.8112, 0.7593, 2.6880) |
| Luminance | 0.0076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.10
Dark Navy Blue
#00022E
ΔE00 6.11
Midnight
#03012D
ΔE00 6.61
Dark Navy
#000435
ΔE00 6.89
Navy Blue
#1B2A4A
ΔE00 6.92
Very Dark Blue
#000133
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04152E #2E1D04
analogous
#042A2E #04152E #08042E
triadic
#04152E #2E0415 #152E04
tetradic
#04152E #2E042A #2E1D04 #042E08
square
#04152E #2E042A #2E1D04 #042E08
split-complementary
#04152E #2E0804 #2A2E04
monochromatic
#020D1C #020D1C #04152E #092F66 #0E489F
Accessibility & contrast
On white
18.23
#04152E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#04152E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04152E
18.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04152E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04152E | 1.00 | 18.23 | 1.15 | 18.23 |
| #FFFFFF | 18.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#02132E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #04152e; /* rgb */ color: rgb(4, 21, 46); /* oklch */ color: oklch(19.8% 0.056 257.0);
Tailwind
colors: {
custom: {
50: '#4a5167',
500: '#04152e',
950: '#000000',
},
}SCSS
$custom: #04152e; $custom-light: #4a5167; $custom-dark: #000000;
JSON
{
"hex": "#04152e",
"rgb": {
"r": 4,
"g": 21,
"b": 46
},
"hsl": {
"h": 215.714,
"s": 84,
"l": 9.804
},
"oklch": {
"l": 0.19765,
"c": 0.05568,
"h": 257
},
"luminance": 0.00759
}Semantic roles & 50–950 ramp
primary
#04152E
secondary
#714F1D
accent
#A72EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A