#2F878E#2F878E
#2F878E is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.082 H 202.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F878E |
|---|---|
| RGB | rgb(47, 135, 142) |
| HSL | hsl(184, 50%, 37%) |
| HSV | hsv(184, 67%, 56%) |
| CMYK | cmyk(66.9%, 4.9%, 0%, 44.3%) |
| CIE-LAB | lab(51.71, -23.34, -11.42) |
| CIE-LCH | lch(51.71, 25.99, 206.07°) |
| OKLab | oklab(57.48% -0.0759 -0.0317) |
| OKLCH | oklch(57.48% 0.082 202.6) |
| XYZ | xyz(14.7166, 19.8837, 28.6483) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Cyan
#0A888A
ΔE00 3.34
Darkcyan
#008B8B
ΔE00 4.34
Teal
#008080
ΔE00 5.14
Greenish Blue
#0B8B87
ΔE00 5.61
Teal Blue
#01889F
ΔE00 5.78
Deep Aqua
#08787F
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F878E #8E362F
analogous
#2F8E66 #2F878E #2F588E
triadic
#2F878E #8E2F87 #878E2F
tetradic
#2F878E #662F8E #8E362F #588E2F
square
#2F878E #662F8E #8E362F #588E2F
split-complementary
#2F878E #8E2F58 #8E662F
monochromatic
#113032 #205B60 #2F878E #3EB3BC #6AC6CE
Accessibility & contrast
On white
4.22
#2F878E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#2F878E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F878E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F878E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F878E | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D818F
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f878e; /* rgb */ color: rgb(47, 135, 142); /* oklch */ color: oklch(57.5% 0.082 202.6);
Tailwind
colors: {
custom: {
50: '#75aaaf',
500: '#2f878e',
950: '#000000',
},
}SCSS
$custom: #2f878e; $custom-light: #75aaaf; $custom-dark: #000000;
JSON
{
"hex": "#2f878e",
"rgb": {
"r": 47,
"g": 135,
"b": 142
},
"hsl": {
"h": 184.421,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.57476,
"c": 0.08227,
"h": 202.6
},
"luminance": 0.19885
}Semantic roles & 50–950 ramp
primary
#2F878E
secondary
#B56A64
accent
#584EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F