#082542#082542
#082542 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.064 H 251.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).
Color values
| HEX | #082542 |
|---|---|
| RGB | rgb(8, 37, 66) |
| HSL | hsl(210, 78%, 15%) |
| HSV | hsv(210, 88%, 26%) |
| CMYK | cmyk(87.9%, 43.9%, 0%, 74.1%) |
| CIE-LAB | lab(14.22, 1.64, -21.39) |
| CIE-LCH | lch(14.22, 21.45, 274.39°) |
| OKLab | oklab(26.06% -0.0202 -0.061) |
| OKLCH | oklch(26.06% 0.064 251.7) |
| XYZ | xyz(1.7447, 1.7679, 5.4025) |
| Luminance | 0.0177 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.96
Marine
#042E60
ΔE00 5.36
Dark
#1B2431
ΔE00 6.77
Navy (survey)
#01153E
ΔE00 6.99
Marine Blue
#01386A
ΔE00 7.66
Navy Blue (survey)
#001146
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#082542 #422508
analogous
#084242 #082542 #080842
triadic
#082542 #420825 #254208
tetradic
#082542 #420842 #422508 #084208
square
#082542 #420842 #422508 #084208
split-complementary
#082542 #420808 #424208
monochromatic
#030F1B #030F1B #082542 #0F4479 #1562AF
Accessibility & contrast
On white
15.51
#082542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#082542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #082542
15.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##082542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##082542 | 1.00 | 15.51 | 1.35 | 15.51 |
| #FFFFFF | 15.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#0E2241
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #082542; /* rgb */ color: rgb(8, 37, 66); /* oklch */ color: oklch(26.1% 0.064 251.7);
Tailwind
colors: {
custom: {
50: '#525f76',
500: '#082542',
950: '#000000',
},
}SCSS
$custom: #082542; $custom-light: #525f76; $custom-dark: #000000;
JSON
{
"hex": "#082542",
"rgb": {
"r": 8,
"g": 37,
"b": 66
},
"hsl": {
"h": 210,
"s": 78.378,
"l": 14.51
},
"oklch": {
"l": 0.26062,
"c": 0.06431,
"h": 251.7
},
"luminance": 0.01768
}Semantic roles & 50–950 ramp
primary
#082542
secondary
#805325
accent
#9433F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B