#042F2F#042F2F
#042F2F is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.045 H 194.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #042F2F |
|---|---|
| RGB | rgb(4, 47, 47) |
| HSL | hsl(180, 84%, 10%) |
| HSV | hsv(180, 91%, 18%) |
| CMYK | cmyk(91.5%, 0%, 0%, 81.6%) |
| CIE-LAB | lab(16.82, -13.85, -4.11) |
| CIE-LCH | lch(16.82, 14.45, 196.53°) |
| OKLab | oklab(27.77% -0.043 -0.0114) |
| OKLCH | oklch(27.77% 0.045 194.9) |
| XYZ | xyz(1.5794, 2.2639, 3.0425) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Teal
#014D4E
ΔE00 9.65
Darkslategray
#2F4F4F
ΔE00 10.57
Gunmetal
#2A3439
ΔE00 11.12
Dark Blue Green
#005249
ΔE00 12.22
Deep Teal
#00555A
ΔE00 12.29
Charcoal (survey)
#343837
ΔE00 12.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042F2F #2F0404
analogous
#042F1A #042F2F #04192F
triadic
#042F2F #2F042F #2F2F04
tetradic
#042F2F #19042F #2F0404 #1A2F04
square
#042F2F #19042F #2F0404 #1A2F04
split-complementary
#042F2F #2F041A #2F1A04
monochromatic
#021C1C #021C1C #042F2F #096767 #0EA0A0
Accessibility & contrast
On white
14.45
#042F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#042F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042F2F
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042F2F | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#25282F
Tritanopia (blue-blind)
#00312F
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #042f2f; /* rgb */ color: rgb(4, 47, 47); /* oklch */ color: oklch(27.8% 0.045 194.9);
Tailwind
colors: {
custom: {
50: '#4d6767',
500: '#042f2f',
950: '#000000',
},
}SCSS
$custom: #042f2f; $custom-light: #4d6767; $custom-dark: #000000;
JSON
{
"hex": "#042f2f",
"rgb": {
"r": 4,
"g": 47,
"b": 47
},
"hsl": {
"h": 180,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.2777,
"c": 0.04454,
"h": 194.9
},
"luminance": 0.02264
}Semantic roles & 50–950 ramp
primary
#042F2F
secondary
#721D1D
accent
#2D2DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A