#052840#052840
#052840 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.7% C 0.059 H 243.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).
Color values
| HEX | #052840 |
|---|---|
| RGB | rgb(5, 40, 64) |
| HSL | hsl(204, 86%, 14%) |
| HSV | hsv(204, 92%, 25%) |
| CMYK | cmyk(92.2%, 37.5%, 0%, 74.9%) |
| CIE-LAB | lab(15.06, -1.94, -18.67) |
| CIE-LCH | lch(15.06, 18.77, 264.06°) |
| OKLab | oklab(26.65% -0.0262 -0.0531) |
| OKLCH | oklch(26.65% 0.059 243.7) |
| XYZ | xyz(1.7464, 1.9198, 5.1280) |
| Luminance | 0.0192 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 6.10
Marine
#042E60
ΔE00 6.66
Dark Blue Grey
#1F3B4D
ΔE00 6.91
Navy Blue
#1B2A4A
ΔE00 6.95
Marine Blue
#01386A
ΔE00 7.75
Dark Grey Blue
#29465B
ΔE00 9.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#052840 #401D05
analogous
#05403A #052840 #050A40
triadic
#052840 #400528 #284005
tetradic
#052840 #3A0540 #401D05 #0A4005
square
#052840 #3A0540 #401D05 #0A4005
split-complementary
#052840 #40050A #403A05
monochromatic
#02121C #02121C #052840 #094B79 #0E6FB2
Accessibility & contrast
On white
15.17
#052840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#052840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #052840
15.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##052840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##052840 | 1.00 | 15.17 | 1.38 | 15.17 |
| #FFFFFF | 15.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #052840; /* rgb */ color: rgb(5, 40, 64); /* oklch */ color: oklch(26.7% 0.059 243.7);
Tailwind
colors: {
custom: {
50: '#506175',
500: '#052840',
950: '#000000',
},
}SCSS
$custom: #052840; $custom-light: #506175; $custom-dark: #000000;
JSON
{
"hex": "#052840",
"rgb": {
"r": 5,
"g": 40,
"b": 64
},
"hsl": {
"h": 204.407,
"s": 85.507,
"l": 13.529
},
"oklch": {
"l": 0.26651,
"c": 0.05921,
"h": 243.7
},
"luminance": 0.0192
}Semantic roles & 50–950 ramp
primary
#052840
secondary
#814720
accent
#812CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B