#042A3B#042A3B
#042A3B is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.052 H 232.8°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).
Color values
| HEX | #042A3B |
|---|---|
| RGB | rgb(4, 42, 59) |
| HSL | hsl(199, 87%, 12%) |
| HSV | hsv(199, 93%, 23%) |
| CMYK | cmyk(93.2%, 28.8%, 0%, 76.9%) |
| CIE-LAB | lab(15.47, -5.75, -14.55) |
| CIE-LCH | lch(15.47, 15.64, 248.44°) |
| OKLab | oklab(26.87% -0.0311 -0.0411) |
| OKLCH | oklch(26.87% 0.052 232.8) |
| XYZ | xyz(1.6671, 1.9973, 4.4345) |
| Luminance | 0.0200 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 5.68
Dark
#1B2431
ΔE00 7.33
Gunmetal
#2A3439
ΔE00 8.14
Dark Grey Blue
#29465B
ΔE00 9.32
Dark Slate Blue
#214761
ΔE00 9.78
Charcoal
#36454F
ΔE00 10.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042A3B #3B1504
analogous
#043B30 #042A3B #040F3B
triadic
#042A3B #3B042A #2A3B04
tetradic
#042A3B #30043B #3B1504 #0F3B04
square
#042A3B #30043B #3B1504 #0F3B04
split-complementary
#042A3B #3B040F #3B3004
monochromatic
#02141D #02141D #042A3B #085374 #0C7CAE
Accessibility & contrast
On white
15.00
#042A3B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#042A3B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042A3B
15.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042A3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042A3B | 1.00 | 15.00 | 1.40 | 15.00 |
| #FFFFFF | 15.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212A3C
Deuteranopia (green-blind)
#1A243B
Tritanopia (blue-blind)
#002F30
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #042a3b; /* rgb */ color: rgb(4, 42, 59); /* oklch */ color: oklch(26.9% 0.052 232.8);
Tailwind
colors: {
custom: {
50: '#4f6371',
500: '#042a3b',
950: '#000000',
},
}SCSS
$custom: #042a3b; $custom-light: #4f6371; $custom-dark: #000000;
JSON
{
"hex": "#042a3b",
"rgb": {
"r": 4,
"g": 42,
"b": 59
},
"hsl": {
"h": 198.545,
"s": 87.302,
"l": 12.353
},
"oklch": {
"l": 0.26873,
"c": 0.05151,
"h": 232.8
},
"luminance": 0.01998
}Semantic roles & 50–950 ramp
primary
#042A3B
secondary
#7D3B1E
accent
#6C2AFD
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A