#04172F#04172F
#04172F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.4% C 0.054 H 254.7°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).
Color values
| HEX | #04172F |
|---|---|
| RGB | rgb(4, 23, 47) |
| HSL | hsl(213, 84%, 10%) |
| HSV | hsv(213, 91%, 18%) |
| CMYK | cmyk(91.5%, 51.1%, 0%, 81.6%) |
| CIE-LAB | lab(7.62, 2.75, -18.35) |
| CIE-LCH | lch(7.62, 18.55, 278.53°) |
| OKLab | oklab(20.42% -0.0144 -0.0525) |
| OKLCH | oklch(20.42% 0.054 254.7) |
| XYZ | xyz(0.8694, 0.8437, 2.8058) |
| Luminance | 0.0084 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.58
Navy Blue
#1B2A4A
ΔE00 6.65
Dark
#1B2431
ΔE00 6.91
Dark Navy Blue
#00022E
ΔE00 6.96
Midnight
#03012D
ΔE00 7.49
Dark Navy
#000435
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04172F #2F1C04
analogous
#042D2F #04172F #06042F
triadic
#04172F #2F0417 #172F04
tetradic
#04172F #2F042D #2F1C04 #042F06
square
#04172F #2F042D #2F1C04 #042F06
split-complementary
#04172F #2F0604 #2D2F04
monochromatic
#020E1C #020E1C #04172F #093367 #0E4EA0
Accessibility & contrast
On white
17.97
#04172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#04172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04172F
17.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04172F | 1.00 | 17.97 | 1.17 | 17.97 |
| #FFFFFF | 17.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#04152F
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #04172f; /* rgb */ color: rgb(4, 23, 47); /* oklch */ color: oklch(20.4% 0.054 254.7);
Tailwind
colors: {
custom: {
50: '#4b5367',
500: '#04172f',
950: '#000000',
},
}SCSS
$custom: #04172f; $custom-light: #4b5367; $custom-dark: #000000;
JSON
{
"hex": "#04172f",
"rgb": {
"r": 4,
"g": 23,
"b": 47
},
"hsl": {
"h": 213.488,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.20423,
"c": 0.05448,
"h": 254.7
},
"luminance": 0.00844
}Semantic roles & 50–950 ramp
primary
#04172F
secondary
#724C1D
accent
#A02DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A