#2F877C#2F877C
#2F877C is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.084 H 183.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F877C |
|---|---|
| RGB | rgb(47, 135, 124) |
| HSL | hsl(173, 48%, 36%) |
| HSV | hsv(173, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 8.1%, 47.1%) |
| CIE-LAB | lab(51.14, -28.68, -1.78) |
| CIE-LCH | lch(51.14, 28.73, 183.55°) |
| OKLab | oklab(56.83% -0.0843 -0.0053) |
| OKLCH | oklch(56.83% 0.084 183.6) |
| XYZ | xyz(13.4727, 19.3861, 22.0967) |
| Luminance | 0.1939 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.58
Dusty Teal
#4C9085
ΔE00 4.53
Teal (survey)
#029386
ΔE00 4.54
Darkcyan
#008B8B
ΔE00 4.97
Teal
#008080
ΔE00 5.42
Dark Cyan
#0A888A
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F877C #872F3A
analogous
#2F8750 #2F877C #2F6687
triadic
#2F877C #7C2F87 #877C2F
tetradic
#2F877C #502F87 #872F3A #66872F
square
#2F877C #502F87 #872F3A #66872F
split-complementary
#2F877C #872F66 #87502F
monochromatic
#0F2C29 #1F5A52 #2F877C #3FB4A6 #66CABD
Accessibility & contrast
On white
4.31
#2F877C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#2F877C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F877C
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F877C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F877C | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817F7C
Deuteranopia (green-blind)
#73767D
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f877c; /* rgb */ color: rgb(47, 135, 124); /* oklch */ color: oklch(56.8% 0.084 183.6);
Tailwind
colors: {
custom: {
50: '#73aaa1',
500: '#2f877c',
950: '#000000',
},
}SCSS
$custom: #2f877c; $custom-light: #73aaa1; $custom-dark: #000000;
JSON
{
"hex": "#2f877c",
"rgb": {
"r": 47,
"g": 135,
"b": 124
},
"hsl": {
"h": 172.5,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.56826,
"c": 0.08445,
"h": 183.6
},
"luminance": 0.19388
}Semantic roles & 50–950 ramp
primary
#2F877C
secondary
#B1616B
accent
#5061D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E