#042C3F#042C3F
#042C3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.055 H 234.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #042C3F |
|---|---|
| RGB | rgb(4, 44, 63) |
| HSL | hsl(199, 88%, 13%) |
| HSV | hsv(199, 94%, 25%) |
| CMYK | cmyk(93.7%, 30.2%, 0%, 75.3%) |
| CIE-LAB | lab(16.43, -5.36, -15.82) |
| CIE-LCH | lch(16.43, 16.71, 251.29°) |
| OKLab | oklab(27.71% -0.0316 -0.0447) |
| OKLCH | oklch(27.71% 0.055 234.7) |
| XYZ | xyz(1.8476, 2.1858, 5.0262) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 5.04
Dark
#1B2431
ΔE00 7.42
Gunmetal
#2A3439
ΔE00 8.41
Dark Grey Blue
#29465B
ΔE00 8.59
Dark Slate Blue
#214761
ΔE00 8.92
Marine
#042E60
ΔE00 9.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042C3F #3F1704
analogous
#043F34 #042C3F #040E3F
triadic
#042C3F #3F042C #2C3F04
tetradic
#042C3F #34043F #3F1704 #0E3F04
square
#042C3F #34043F #3F1704 #0E3F04
split-complementary
#042C3F #3F040E #3F3404
monochromatic
#02141D #02141D #042C3F #085479 #0B7CB2
Accessibility & contrast
On white
14.61
#042C3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#042C3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042C3F
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042C3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042C3F | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #042c3f; /* rgb */ color: rgb(4, 44, 63); /* oklch */ color: oklch(27.7% 0.055 234.7);
Tailwind
colors: {
custom: {
50: '#506574',
500: '#042c3f',
950: '#000000',
},
}SCSS
$custom: #042c3f; $custom-light: #506574; $custom-dark: #000000;
JSON
{
"hex": "#042c3f",
"rgb": {
"r": 4,
"g": 44,
"b": 63
},
"hsl": {
"h": 199.322,
"s": 88.06,
"l": 13.137
},
"oklch": {
"l": 0.27712,
"c": 0.05479,
"h": 234.7
},
"luminance": 0.02186
}Semantic roles & 50–950 ramp
primary
#042C3F
secondary
#803E1E
accent
#6E2AFE
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020508
muted
#787A7B