#04182F#04182F
#04182F is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.053 H 253.0°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).
Color values
| HEX | #04182F |
|---|---|
| RGB | rgb(4, 24, 47) |
| HSL | hsl(212, 84%, 10%) |
| HSV | hsv(212, 91%, 18%) |
| CMYK | cmyk(91.5%, 48.9%, 0%, 81.6%) |
| CIE-LAB | lab(7.99, 1.98, -17.76) |
| CIE-LCH | lch(7.99, 17.87, 276.36°) |
| OKLab | oklab(20.71% -0.0155 -0.0508) |
| OKLCH | oklch(20.71% 0.053 253) |
| XYZ | xyz(0.8896, 0.8842, 2.8126) |
| Luminance | 0.0088 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy (survey)
#01153E
ΔE00 6.13
Dark
#1B2431
ΔE00 6.34
Navy Blue
#1B2A4A
ΔE00 6.73
Dark Navy Blue
#00022E
ΔE00 7.65
Navy Blue (survey)
#001146
ΔE00 8.10
Dark Navy
#000435
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04182F #2F1B04
analogous
#042E2F #04182F #05042F
triadic
#04182F #2F0418 #182F04
tetradic
#04182F #2F042E #2F1B04 #042F05
square
#04182F #2F042E #2F1B04 #042F05
split-complementary
#04182F #2F0504 #2E2F04
monochromatic
#020E1C #020E1C #04182F #093567 #0E52A0
Accessibility & contrast
On white
17.85
#04182F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#04182F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04182F
17.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04182F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04182F | 1.00 | 17.85 | 1.18 | 17.85 |
| #FFFFFF | 17.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#06162F
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #04182f; /* rgb */ color: rgb(4, 24, 47); /* oklch */ color: oklch(20.7% 0.053 253.0);
Tailwind
colors: {
custom: {
50: '#4b5467',
500: '#04182f',
950: '#000000',
},
}SCSS
$custom: #04182f; $custom-light: #4b5467; $custom-dark: #000000;
JSON
{
"hex": "#04182f",
"rgb": {
"r": 4,
"g": 24,
"b": 47
},
"hsl": {
"h": 212.093,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.20712,
"c": 0.05308,
"h": 253
},
"luminance": 0.00884
}Semantic roles & 50–950 ramp
primary
#04182F
secondary
#724A1D
accent
#9B2DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A