#052542#052542
#052542 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.9% C 0.066 H 250.0°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).
Color values
| HEX | #052542 |
|---|---|
| RGB | rgb(5, 37, 66) |
| HSL | hsl(209, 86%, 14%) |
| HSV | hsv(209, 92%, 26%) |
| CMYK | cmyk(92.4%, 43.9%, 0%, 74.1%) |
| CIE-LAB | lab(14.11, 1.17, -21.57) |
| CIE-LCH | lch(14.11, 21.61, 273.09°) |
| OKLab | oklab(25.94% -0.0225 -0.0616) |
| OKLCH | oklch(25.94% 0.066 250) |
| XYZ | xyz(1.7071, 1.7485, 5.4007) |
| Luminance | 0.0175 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.46
Marine
#042E60
ΔE00 5.36
Dark
#1B2431
ΔE00 6.85
Navy (survey)
#01153E
ΔE00 7.27
Marine Blue
#01386A
ΔE00 7.53
Navy Blue (survey)
#001146
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#052542 #422205
analogous
#054241 #052542 #050642
triadic
#052542 #420525 #254205
tetradic
#052542 #410542 #422205 #064205
square
#052542 #410542 #422205 #064205
split-complementary
#052542 #420506 #424105
monochromatic
#02101C #02101C #052542 #09457B #0E65B4
Accessibility & contrast
On white
15.56
#052542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#052542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #052542
15.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##052542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##052542 | 1.00 | 15.56 | 1.35 | 15.56 |
| #FFFFFF | 15.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#0D2141
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #052542; /* rgb */ color: rgb(5, 37, 66); /* oklch */ color: oklch(25.9% 0.066 250.0);
Tailwind
colors: {
custom: {
50: '#515f76',
500: '#052542',
950: '#000000',
},
}SCSS
$custom: #052542; $custom-light: #515f76; $custom-dark: #000000;
JSON
{
"hex": "#052542",
"rgb": {
"r": 5,
"g": 37,
"b": 66
},
"hsl": {
"h": 208.525,
"s": 85.915,
"l": 13.922
},
"oklch": {
"l": 0.25943,
"c": 0.0656,
"h": 250
},
"luminance": 0.01749
}Semantic roles & 50–950 ramp
primary
#052542
secondary
#824F20
accent
#8F2CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B