#042D3F#042D3F
#042D3F is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.0% C 0.054 H 232.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #042D3F |
|---|---|
| RGB | rgb(4, 45, 63) |
| HSL | hsl(198, 88%, 13%) |
| HSV | hsv(198, 94%, 25%) |
| CMYK | cmyk(93.7%, 28.6%, 0%, 75.3%) |
| CIE-LAB | lab(16.80, -6.04, -15.25) |
| CIE-LCH | lch(16.80, 16.40, 248.39°) |
| OKLab | oklab(28.01% -0.0327 -0.043) |
| OKLCH | oklch(28.01% 0.054 232.7) |
| XYZ | xyz(1.8853, 2.2612, 5.0388) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 4.91
Dark
#1B2431
ΔE00 7.89
Gunmetal
#2A3439
ΔE00 8.18
Dark Grey Blue
#29465B
ΔE00 8.48
Dark Slate Blue
#214761
ΔE00 8.87
Charcoal
#36454F
ΔE00 9.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042D3F #3F1604
analogous
#043F33 #042D3F #040F3F
triadic
#042D3F #3F042D #2D3F04
tetradic
#042D3F #33043F #3F1604 #0F3F04
square
#042D3F #33043F #3F1604 #0F3F04
split-complementary
#042D3F #3F040F #3F3304
monochromatic
#02151D #02151D #042D3F #085679 #0B7FB2
Accessibility & contrast
On white
14.46
#042D3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#042D3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042D3F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042D3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042D3F | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242C40
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#003233
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #042d3f; /* rgb */ color: rgb(4, 45, 63); /* oklch */ color: oklch(28.0% 0.054 232.7);
Tailwind
colors: {
custom: {
50: '#506574',
500: '#042d3f',
950: '#000000',
},
}SCSS
$custom: #042d3f; $custom-light: #506574; $custom-dark: #000000;
JSON
{
"hex": "#042d3f",
"rgb": {
"r": 4,
"g": 45,
"b": 63
},
"hsl": {
"h": 198.305,
"s": 88.06,
"l": 13.137
},
"oklch": {
"l": 0.28006,
"c": 0.05409,
"h": 232.7
},
"luminance": 0.02261
}Semantic roles & 50–950 ramp
primary
#042D3F
secondary
#803C1E
accent
#6A2AFE
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020508
muted
#787A7B