#2B877C#2B877C
#2B877C is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.087 H 183.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B877C |
|---|---|
| RGB | rgb(43, 135, 124) |
| HSL | hsl(173, 52%, 35%) |
| HSV | hsv(173, 68%, 53%) |
| CMYK | cmyk(68.1%, 0%, 8.1%, 47.1%) |
| CIE-LAB | lab(51.03, -29.37, -1.95) |
| CIE-LCH | lch(51.03, 29.43, 183.79°) |
| OKLab | oklab(56.71% -0.0863 -0.0057) |
| OKLCH | oklch(56.71% 0.087 183.8) |
| XYZ | xyz(13.2966, 19.2953, 22.0885) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.45
Teal (survey)
#029386
ΔE00 4.43
Dusty Teal
#4C9085
ΔE00 4.78
Darkcyan
#008B8B
ΔE00 4.88
Teal
#008080
ΔE00 5.31
Dark Cyan
#0A888A
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B877C #872B36
analogous
#2B874E #2B877C #2B6487
triadic
#2B877C #7C2B87 #877C2B
tetradic
#2B877C #4E2B87 #872B36 #64872B
square
#2B877C #4E2B87 #872B36 #64872B
split-complementary
#2B877C #872B64 #874E2B
monochromatic
#0D2A27 #1C5951 #2B877C #3AB5A7 #60CCBF
Accessibility & contrast
On white
4.32
#2B877C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#2B877C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B877C
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B877C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B877C | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#73757D
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2b877c; /* rgb */ color: rgb(43, 135, 124); /* oklch */ color: oklch(56.7% 0.087 183.8);
Tailwind
colors: {
custom: {
50: '#71aaa1',
500: '#2b877c',
950: '#000000',
},
}SCSS
$custom: #2b877c; $custom-light: #71aaa1; $custom-dark: #000000;
JSON
{
"hex": "#2b877c",
"rgb": {
"r": 43,
"g": 135,
"b": 124
},
"hsl": {
"h": 172.826,
"s": 51.685,
"l": 34.902
},
"oklch": {
"l": 0.56711,
"c": 0.08653,
"h": 183.8
},
"luminance": 0.19297
}Semantic roles & 50–950 ramp
primary
#2B877C
secondary
#B25B66
accent
#4D5EDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E