#062542#062542
#062542 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.065 H 250.5°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).
Color values
| HEX | #062542 |
|---|---|
| RGB | rgb(6, 37, 66) |
| HSL | hsl(209, 83%, 14%) |
| HSV | hsv(209, 91%, 26%) |
| CMYK | cmyk(90.9%, 43.9%, 0%, 74.1%) |
| CIE-LAB | lab(14.15, 1.33, -21.51) |
| CIE-LCH | lch(14.15, 21.55, 273.53°) |
| OKLab | oklab(25.98% -0.0217 -0.0614) |
| OKLCH | oklch(25.98% 0.065 250.5) |
| XYZ | xyz(1.7197, 1.7550, 5.4013) |
| Luminance | 0.0175 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.29
Marine
#042E60
ΔE00 5.35
Dark
#1B2431
ΔE00 6.82
Navy (survey)
#01153E
ΔE00 7.17
Marine Blue
#01386A
ΔE00 7.57
Navy Blue (survey)
#001146
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#062542 #422306
analogous
#064241 #062542 #060742
triadic
#062542 #420625 #254206
tetradic
#062542 #410642 #422306 #074206
square
#062542 #410642 #422306 #074206
split-complementary
#062542 #420607 #424106
monochromatic
#03101C #03101C #062542 #0B447A #1064B2
Accessibility & contrast
On white
15.54
#062542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#062542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #062542
15.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##062542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##062542 | 1.00 | 15.54 | 1.35 | 15.54 |
| #FFFFFF | 15.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.54 | 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: #062542; /* rgb */ color: rgb(6, 37, 66); /* oklch */ color: oklch(26.0% 0.065 250.5);
Tailwind
colors: {
custom: {
50: '#515f76',
500: '#062542',
950: '#000000',
},
}SCSS
$custom: #062542; $custom-light: #515f76; $custom-dark: #000000;
JSON
{
"hex": "#062542",
"rgb": {
"r": 6,
"g": 37,
"b": 66
},
"hsl": {
"h": 209,
"s": 83.333,
"l": 14.118
},
"oklch": {
"l": 0.25983,
"c": 0.06516,
"h": 250.5
},
"luminance": 0.01755
}Semantic roles & 50–950 ramp
primary
#062542
secondary
#825022
accent
#912EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B