#2F5040#2F5040
#2F5040 is a dark, muted teal. Relative luminance 0.067; OKLCH L 40.1% C 0.048 H 162.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5040 |
|---|---|
| RGB | rgb(47, 80, 64) |
| HSL | hsl(151, 26%, 25%) |
| HSV | hsv(151, 41%, 31%) |
| CMYK | cmyk(41.3%, 0%, 20%, 68.6%) |
| CIE-LAB | lab(31.14, -16.27, 5.67) |
| CIE-LCH | lch(31.14, 17.23, 160.80°) |
| OKLab | oklab(40.05% -0.0454 0.0146) |
| OKLCH | oklch(40.05% 0.048 162.2) |
| XYZ | xyz(4.9660, 6.7115, 5.8833) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Blue Green
#005249
ΔE00 6.87
Hunter Green
#355E3B
ΔE00 7.68
Evergreen
#05472A
ΔE00 7.73
Darkslategray
#2F4F4F
ΔE00 7.89
Dark Green Blue
#1F6357
ΔE00 8.19
Pine
#2B5D34
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5040 #502F3F
analogous
#2F5030 #2F5040 #2F5050
triadic
#2F5040 #402F50 #50402F
tetradic
#2F5040 #302F50 #502F3F #50502F
square
#2F5040 #302F50 #502F3F #50502F
split-complementary
#2F5040 #502F50 #50302F
monochromatic
#0B130F #182921 #2F5040 #46775F #5C9D7E
Accessibility & contrast
On white
8.97
#2F5040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F5040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5040
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5040 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C3F
Deuteranopia (green-blind)
#4A4841
Tritanopia (blue-blind)
#27504B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f5040; /* rgb */ color: rgb(47, 80, 64); /* oklch */ color: oklch(40.1% 0.048 162.2);
Tailwind
colors: {
custom: {
50: '#698174',
500: '#2f5040',
950: '#000000',
},
}SCSS
$custom: #2f5040; $custom-light: #698174; $custom-dark: #000000;
JSON
{
"hex": "#2f5040",
"rgb": {
"r": 47,
"g": 80,
"b": 64
},
"hsl": {
"h": 150.909,
"s": 25.984,
"l": 24.902
},
"oklch": {
"l": 0.40054,
"c": 0.04766,
"h": 162.2
},
"luminance": 0.06712
}Semantic roles & 50–950 ramp
primary
#2F5040
secondary
#815A6D
accent
#6592C2
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A08
muted
#7A7C7B