#2A878B#2A878B
#2A878B is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.085 H 199.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A878B |
|---|---|
| RGB | rgb(42, 135, 139) |
| HSL | hsl(182, 54%, 35%) |
| HSV | hsv(182, 70%, 55%) |
| CMYK | cmyk(69.8%, 2.9%, 0%, 45.5%) |
| CIE-LAB | lab(51.48, -25.06, -10.03) |
| CIE-LCH | lch(51.48, 26.99, 201.82°) |
| OKLab | oklab(57.22% -0.0798 -0.0278) |
| OKLCH | oklch(57.22% 0.085 199.2) |
| XYZ | xyz(14.2770, 19.6826, 27.4678) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Cyan
#0A888A
ΔE00 1.99
Darkcyan
#008B8B
ΔE00 3.01
Teal
#008080
ΔE00 3.99
Greenish Blue
#0B8B87
ΔE00 4.18
Deep Aqua
#08787F
ΔE00 5.91
Bluegreen
#017A79
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A878B #8B2E2A
analogous
#2A8B5E #2A878B #2A568B
triadic
#2A878B #8B2A87 #878B2A
tetradic
#2A878B #5E2A8B #8B2E2A #568B2A
square
#2A878B #5E2A8B #8B2E2A #568B2A
split-complementary
#2A878B #8B2A56 #8B5E2A
monochromatic
#0E2C2D #1C595C #2A878B #38B5BA #60CACF
Accessibility & contrast
On white
4.25
#2A878B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#2A878B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A878B
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A878B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A878B | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D818B
Deuteranopia (green-blind)
#6F768C
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2a878b; /* rgb */ color: rgb(42, 135, 139); /* oklch */ color: oklch(57.2% 0.085 199.2);
Tailwind
colors: {
custom: {
50: '#72aaac',
500: '#2a878b',
950: '#000000',
},
}SCSS
$custom: #2a878b; $custom-light: #72aaac; $custom-dark: #000000;
JSON
{
"hex": "#2a878b",
"rgb": {
"r": 42,
"g": 135,
"b": 139
},
"hsl": {
"h": 182.474,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.57221,
"c": 0.08451,
"h": 199.2
},
"luminance": 0.19684
}Semantic roles & 50–950 ramp
primary
#2A878B
secondary
#B5605C
accent
#514BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F