#04172E#04172E
#04172E is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.3% C 0.053 H 253.9°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).
Color values
| HEX | #04172E |
|---|---|
| RGB | rgb(4, 23, 46) |
| HSL | hsl(213, 84%, 10%) |
| HSV | hsv(213, 91%, 18%) |
| CMYK | cmyk(91.3%, 50%, 0%, 82%) |
| CIE-LAB | lab(7.55, 2.25, -17.72) |
| CIE-LCH | lch(7.55, 17.87, 277.24°) |
| OKLab | oklab(20.34% -0.0147 -0.0507) |
| OKLCH | oklch(20.34% 0.053 253.9) |
| XYZ | xyz(0.8494, 0.8358, 2.7008) |
| Luminance | 0.0084 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy (survey)
#01153E
ΔE00 6.02
Dark
#1B2431
ΔE00 6.57
Navy Blue
#1B2A4A
ΔE00 6.89
Dark Navy Blue
#00022E
ΔE00 7.36
Midnight
#03012D
ΔE00 7.89
Dark Navy
#000435
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04172E #2E1B04
analogous
#042C2E #04172E #06042E
triadic
#04172E #2E0417 #172E04
tetradic
#04172E #2E042C #2E1B04 #042E06
square
#04172E #2E042C #2E1B04 #042E06
split-complementary
#04172E #2E0604 #2C2E04
monochromatic
#020E1C #020E1C #04172E #093366 #0E4F9F
Accessibility & contrast
On white
17.99
#04172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#04172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04172E
17.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04172E | 1.00 | 17.99 | 1.17 | 17.99 |
| #FFFFFF | 17.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #04172e; /* rgb */ color: rgb(4, 23, 46); /* oklch */ color: oklch(20.3% 0.053 253.9);
Tailwind
colors: {
custom: {
50: '#4b5367',
500: '#04172e',
950: '#000000',
},
}SCSS
$custom: #04172e; $custom-light: #4b5367; $custom-dark: #000000;
JSON
{
"hex": "#04172e",
"rgb": {
"r": 4,
"g": 23,
"b": 46
},
"hsl": {
"h": 212.857,
"s": 84,
"l": 9.804
},
"oklch": {
"l": 0.2034,
"c": 0.0528,
"h": 253.9
},
"luminance": 0.00836
}Semantic roles & 50–950 ramp
primary
#04172E
secondary
#714B1D
accent
#9E2EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A