#04223F#04223F
#04223F is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.8% C 0.065 H 251.1°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).
Color values
| HEX | #04223F |
|---|---|
| RGB | rgb(4, 34, 63) |
| HSL | hsl(209, 88%, 13%) |
| HSV | hsv(209, 94%, 25%) |
| CMYK | cmyk(93.7%, 46%, 0%, 75.3%) |
| CIE-LAB | lab(12.79, 1.85, -21.58) |
| CIE-LCH | lch(12.79, 21.66, 274.91°) |
| OKLab | oklab(24.83% -0.0212 -0.0617) |
| OKLCH | oklch(24.83% 0.065 251.1) |
| XYZ | xyz(1.5190, 1.5286, 4.9166) |
| Luminance | 0.0153 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.40
Marine
#042E60
ΔE00 5.95
Navy (survey)
#01153E
ΔE00 6.38
Dark
#1B2431
ΔE00 6.92
Navy Blue (survey)
#001146
ΔE00 8.23
Marine Blue
#01386A
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04223F #3F2104
analogous
#043F3E #04223F #04043F
triadic
#04223F #3F0422 #223F04
tetradic
#04223F #3E043F #3F2104 #043F04
square
#04223F #3E043F #3F2104 #043F04
split-complementary
#04223F #3F0404 #3F3E04
monochromatic
#02101D #02101D #04223F #084179 #0B60B2
Accessibility & contrast
On white
16.08
#04223F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#04223F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #04223F
16.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04223F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04223F | 1.00 | 16.08 | 1.31 | 16.08 |
| #FFFFFF | 16.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#091F3E
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #04223f; /* rgb */ color: rgb(4, 34, 63); /* oklch */ color: oklch(24.8% 0.065 251.1);
Tailwind
colors: {
custom: {
50: '#505c74',
500: '#04223f',
950: '#000000',
},
}SCSS
$custom: #04223f; $custom-light: #505c74; $custom-dark: #000000;
JSON
{
"hex": "#04223f",
"rgb": {
"r": 4,
"g": 34,
"b": 63
},
"hsl": {
"h": 209.492,
"s": 88.06,
"l": 13.137
},
"oklch": {
"l": 0.24832,
"c": 0.06527,
"h": 251.1
},
"luminance": 0.01529
}Semantic roles & 50–950 ramp
primary
#04223F
secondary
#804F1E
accent
#922AFE
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B