#072540#072540
#072540 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 25.9% C 0.062 H 249.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #072540 |
|---|---|
| RGB | rgb(7, 37, 64) |
| HSL | hsl(208, 80%, 14%) |
| HSV | hsv(208, 89%, 25%) |
| CMYK | cmyk(89.1%, 42.2%, 0%, 74.9%) |
| CIE-LAB | lab(14.05, 0.57, -20.27) |
| CIE-LCH | lch(14.05, 20.28, 271.62°) |
| OKLab | oklab(25.87% -0.0216 -0.0578) |
| OKLCH | oklch(25.87% 0.062 249.5) |
| XYZ | xyz(1.6743, 1.7383, 5.0968) |
| Luminance | 0.0174 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.79
Marine
#042E60
ΔE00 5.84
Dark
#1B2431
ΔE00 6.22
Navy (survey)
#01153E
ΔE00 7.64
Marine Blue
#01386A
ΔE00 7.85
Dark Blue Grey
#1F3B4D
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#072540 #402207
analogous
#07403F #072540 #070940
triadic
#072540 #400725 #254007
tetradic
#072540 #3F0740 #402207 #094007
square
#072540 #3F0740 #402207 #094007
split-complementary
#072540 #400709 #403F07
monochromatic
#03101C #03101C #072540 #0D4577 #1365AE
Accessibility & contrast
On white
15.58
#072540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#072540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #072540
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##072540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##072540 | 1.00 | 15.58 | 1.35 | 15.58 |
| #FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182741
Deuteranopia (green-blind)
#10213F
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #072540; /* rgb */ color: rgb(7, 37, 64); /* oklch */ color: oklch(25.9% 0.062 249.5);
Tailwind
colors: {
custom: {
50: '#515f75',
500: '#072540',
950: '#000000',
},
}SCSS
$custom: #072540; $custom-light: #515f75; $custom-dark: #000000;
JSON
{
"hex": "#072540",
"rgb": {
"r": 7,
"g": 37,
"b": 64
},
"hsl": {
"h": 208.421,
"s": 80.282,
"l": 13.922
},
"oklch": {
"l": 0.25875,
"c": 0.06167,
"h": 249.5
},
"luminance": 0.01738
}Semantic roles & 50–950 ramp
primary
#072540
secondary
#7F4F24
accent
#8F31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B