#04172C#04172C
#04172C is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.2% C 0.049 H 252.0°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).
Color values
| HEX | #04172C |
|---|---|
| RGB | rgb(4, 23, 44) |
| HSL | hsl(212, 83%, 9%) |
| HSV | hsv(212, 91%, 17%) |
| CMYK | cmyk(90.9%, 47.7%, 0%, 82.7%) |
| CIE-LAB | lab(7.41, 1.28, -16.47) |
| CIE-LCH | lch(7.41, 16.52, 274.43°) |
| OKLab | oklab(20.18% -0.0153 -0.0471) |
| OKLCH | oklch(20.18% 0.049 252) |
| XYZ | xyz(0.8109, 0.8204, 2.4980) |
| Luminance | 0.0082 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.92
Navy (survey)
#01153E
ΔE00 6.94
Navy Blue
#1B2A4A
ΔE00 7.48
Dark Navy Blue
#00022E
ΔE00 8.22
Dark Navy
#000435
ΔE00 8.65
Navy Blue (survey)
#001146
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04172C #2C1904
analogous
#042B2C #04172C #05042C
triadic
#04172C #2C0417 #172C04
tetradic
#04172C #2C042B #2C1904 #042C05
square
#04172C #2C042B #2C1904 #042C05
split-complementary
#04172C #2C0504 #2B2C04
monochromatic
#030F1C #030F1C #04172C #093464 #0E529C
Accessibility & contrast
On white
18.04
#04172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#04172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04172C
18.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04172C | 1.00 | 18.04 | 1.16 | 18.04 |
| #FFFFFF | 18.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D182D
Deuteranopia (green-blind)
#07152C
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #04172c; /* rgb */ color: rgb(4, 23, 44); /* oklch */ color: oklch(20.2% 0.049 252.0);
Tailwind
colors: {
custom: {
50: '#4a5365',
500: '#04172c',
950: '#000000',
},
}SCSS
$custom: #04172c; $custom-light: #4a5365; $custom-dark: #000000;
JSON
{
"hex": "#04172c",
"rgb": {
"r": 4,
"g": 23,
"b": 44
},
"hsl": {
"h": 211.5,
"s": 83.333,
"l": 9.412
},
"oklch": {
"l": 0.2018,
"c": 0.04948,
"h": 252
},
"luminance": 0.0082
}Semantic roles & 50–950 ramp
primary
#04172C
secondary
#6F481D
accent
#992EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A