#042A2F#042A2F
#042A2F is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.2% C 0.042 H 207.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).
Color values
| HEX | #042A2F |
|---|---|
| RGB | rgb(4, 42, 47) |
| HSL | hsl(187, 84%, 10%) |
| HSV | hsv(187, 91%, 18%) |
| CMYK | cmyk(91.5%, 10.6%, 0%, 81.6%) |
| CIE-LAB | lab(14.88, -10.81, -7.03) |
| CIE-LCH | lch(14.88, 12.89, 213.02°) |
| OKLab | oklab(26.2% -0.0369 -0.0196) |
| OKLCH | oklch(26.2% 0.042 207.9) |
| XYZ | xyz(1.3909, 1.8868, 2.9797) |
| Luminance | 0.0189 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Gunmetal
#2A3439
ΔE00 9.14
Dark Blue Grey
#1F3B4D
ΔE00 10.30
Charcoal (survey)
#343837
ΔE00 11.83
Dark
#1B2431
ΔE00 12.02
Dark Teal
#014D4E
ΔE00 12.02
Darkslategray
#2F4F4F
ΔE00 12.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042A2F #2F0904
analogous
#042F1F #042A2F #04142F
triadic
#042A2F #2F042A #2A2F04
tetradic
#042A2F #1F042F #2F0904 #142F04
square
#042A2F #1F042F #2F0904 #142F04
split-complementary
#042A2F #2F0414 #2F1F04
monochromatic
#02191C #02191C #042A2F #095C67 #0E8FA0
Accessibility & contrast
On white
15.25
#042A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#042A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042A2F
15.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042A2F | 1.00 | 15.25 | 1.38 | 15.25 |
| #FFFFFF | 15.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#1F242F
Tritanopia (blue-blind)
#002C2B
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #042a2f; /* rgb */ color: rgb(4, 42, 47); /* oklch */ color: oklch(26.2% 0.042 207.9);
Tailwind
colors: {
custom: {
50: '#4c6367',
500: '#042a2f',
950: '#000000',
},
}SCSS
$custom: #042a2f; $custom-light: #4c6367; $custom-dark: #000000;
JSON
{
"hex": "#042a2f",
"rgb": {
"r": 4,
"g": 42,
"b": 47
},
"hsl": {
"h": 186.977,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.26203,
"c": 0.04176,
"h": 207.9
},
"luminance": 0.01887
}Semantic roles & 50–950 ramp
primary
#042A2F
secondary
#72271D
accent
#452DFB
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#010506
muted
#77797A