#04152C#04152C
#04152C is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.6% C 0.052 H 255.6°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).
Color values
| HEX | #04152C |
|---|---|
| RGB | rgb(4, 21, 44) |
| HSL | hsl(215, 83%, 9%) |
| HSV | hsv(215, 91%, 17%) |
| CMYK | cmyk(90.9%, 52.3%, 0%, 82.7%) |
| CIE-LAB | lab(6.72, 2.69, -17.56) |
| CIE-LCH | lch(6.72, 17.77, 278.71°) |
| OKLab | oklab(19.6% -0.013 -0.0506) |
| OKLCH | oklch(19.6% 0.052 255.6) |
| XYZ | xyz(0.7727, 0.7439, 2.4852) |
| Luminance | 0.0074 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.95
Dark Navy Blue
#00022E
ΔE00 6.90
Dark
#1B2431
ΔE00 6.97
Navy Blue
#1B2A4A
ΔE00 7.27
Midnight
#03012D
ΔE00 7.41
Dark Navy
#000435
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04152C #2C1B04
analogous
#04292C #04152C #07042C
triadic
#04152C #2C0415 #152C04
tetradic
#04152C #2C0429 #2C1B04 #042C07
square
#04152C #2C0429 #2C1B04 #042C07
split-complementary
#04152C #2C0704 #292C04
monochromatic
#030D1C #030D1C #04152C #093064 #0E4B9C
Accessibility & contrast
On white
18.28
#04152C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#04152C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04152C
18.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04152C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04152C | 1.00 | 18.28 | 1.15 | 18.28 |
| #FFFFFF | 18.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#04132C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #04152c; /* rgb */ color: rgb(4, 21, 44); /* oklch */ color: oklch(19.6% 0.052 255.6);
Tailwind
colors: {
custom: {
50: '#4a5265',
500: '#04152c',
950: '#000000',
},
}SCSS
$custom: #04152c; $custom-light: #4a5265; $custom-dark: #000000;
JSON
{
"hex": "#04152c",
"rgb": {
"r": 4,
"g": 21,
"b": 44
},
"hsl": {
"h": 214.5,
"s": 83.333,
"l": 9.412
},
"oklch": {
"l": 0.19595,
"c": 0.05228,
"h": 255.6
},
"luminance": 0.00744
}Semantic roles & 50–950 ramp
primary
#04152C
secondary
#6F4C1D
accent
#A32EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A