#042739#042739
#042739 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.9% C 0.051 H 236.1°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).
Color values
| HEX | #042739 |
|---|---|
| RGB | rgb(4, 39, 57) |
| HSL | hsl(200, 87%, 12%) |
| HSV | hsv(200, 93%, 22%) |
| CMYK | cmyk(93%, 31.6%, 0%, 77.6%) |
| CIE-LAB | lab(14.24, -4.56, -15.07) |
| CIE-LCH | lch(14.24, 15.74, 253.18°) |
| OKLab | oklab(25.86% -0.0286 -0.0426) |
| OKLCH | oklch(25.86% 0.051 236.1) |
| XYZ | xyz(1.5138, 1.7721, 4.1324) |
| Luminance | 0.0177 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 6.36
Dark Blue Grey
#1F3B4D
ΔE00 6.37
Gunmetal
#2A3439
ΔE00 8.59
Marine
#042E60
ΔE00 9.59
Dark Grey Blue
#29465B
ΔE00 9.95
Navy Blue
#1B2A4A
ΔE00 10.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042739 #391604
analogous
#043931 #042739 #040D39
triadic
#042739 #390427 #273904
tetradic
#042739 #310439 #391604 #0D3904
square
#042739 #310439 #391604 #0D3904
split-complementary
#042739 #39040D #393104
monochromatic
#02141D #02141D #042739 #084E72 #0C75AB
Accessibility & contrast
On white
15.51
#042739 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#042739 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042739
15.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042739 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042739 | 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)
#1E273A
Deuteranopia (green-blind)
#172239
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #042739; /* rgb */ color: rgb(4, 39, 57); /* oklch */ color: oklch(25.9% 0.051 236.1);
Tailwind
colors: {
custom: {
50: '#4e606f',
500: '#042739',
950: '#000000',
},
}SCSS
$custom: #042739; $custom-light: #4e606f; $custom-dark: #000000;
JSON
{
"hex": "#042739",
"rgb": {
"r": 4,
"g": 39,
"b": 57
},
"hsl": {
"h": 200.377,
"s": 86.885,
"l": 11.961
},
"oklch": {
"l": 0.25856,
"c": 0.05131,
"h": 236.1
},
"luminance": 0.01772
}Semantic roles & 50–950 ramp
primary
#042739
secondary
#7B3D1E
accent
#722BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A