#072542#072542
#072542 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.065 H 251.1°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).
Color values
| HEX | #072542 |
|---|---|
| RGB | rgb(7, 37, 66) |
| HSL | hsl(209, 81%, 14%) |
| HSV | hsv(209, 89%, 26%) |
| CMYK | cmyk(89.4%, 43.9%, 0%, 74.1%) |
| CIE-LAB | lab(14.18, 1.49, -21.45) |
| CIE-LCH | lch(14.18, 21.50, 273.96°) |
| OKLab | oklab(26.02% -0.0209 -0.0612) |
| OKLCH | oklch(26.02% 0.065 251.1) |
| XYZ | xyz(1.7322, 1.7614, 5.4019) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.12
Marine
#042E60
ΔE00 5.36
Dark
#1B2431
ΔE00 6.79
Navy (survey)
#01153E
ΔE00 7.08
Marine Blue
#01386A
ΔE00 7.61
Navy Blue (survey)
#001146
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#072542 #422407
analogous
#074242 #072542 #070742
triadic
#072542 #420725 #254207
tetradic
#072542 #420742 #422407 #074207
square
#072542 #420742 #422407 #074207
split-complementary
#072542 #420707 #424207
monochromatic
#03101C #03101C #072542 #0D4479 #1363B1
Accessibility & contrast
On white
15.53
#072542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#072542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #072542
15.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##072542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##072542 | 1.00 | 15.53 | 1.35 | 15.53 |
| #FFFFFF | 15.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.53 | 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: #072542; /* rgb */ color: rgb(7, 37, 66); /* oklch */ color: oklch(26.0% 0.065 251.1);
Tailwind
colors: {
custom: {
50: '#525f76',
500: '#072542',
950: '#000000',
},
}SCSS
$custom: #072542; $custom-light: #525f76; $custom-dark: #000000;
JSON
{
"hex": "#072542",
"rgb": {
"r": 7,
"g": 37,
"b": 66
},
"hsl": {
"h": 209.492,
"s": 80.822,
"l": 14.314
},
"oklch": {
"l": 0.26022,
"c": 0.06473,
"h": 251.1
},
"luminance": 0.01762
}Semantic roles & 50–950 ramp
primary
#072542
secondary
#815224
accent
#9231F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B