#2A878C#2A878C
#2A878C is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.3% C 0.085 H 200.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A878C |
|---|---|
| RGB | rgb(42, 135, 140) |
| HSL | hsl(183, 54%, 36%) |
| HSV | hsv(183, 70%, 55%) |
| CMYK | cmyk(70%, 3.6%, 0%, 45.1%) |
| CIE-LAB | lab(51.51, -24.75, -10.57) |
| CIE-LCH | lch(51.51, 26.91, 203.12°) |
| OKLab | oklab(57.26% -0.0793 -0.0293) |
| OKLCH | oklch(57.26% 0.085 200.3) |
| XYZ | xyz(14.3504, 19.7120, 27.8543) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Cyan
#0A888A
ΔE00 2.30
Darkcyan
#008B8B
ΔE00 3.34
Teal
#008080
ΔE00 4.26
Greenish Blue
#0B8B87
ΔE00 4.57
Deep Aqua
#08787F
ΔE00 5.87
Bluegreen
#017A79
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A878C #8C2F2A
analogous
#2A8C60 #2A878C #2A568C
triadic
#2A878C #8C2A87 #878C2A
tetradic
#2A878C #602A8C #8C2F2A #568C2A
square
#2A878C #602A8C #8C2F2A #568C2A
split-complementary
#2A878C #8C2A56 #8C602A
monochromatic
#0E2C2E #1C5A5D #2A878C #38B4BB #61CAD0
Accessibility & contrast
On white
4.25
#2A878C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#2A878C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A878C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A878C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A878C | 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)
#7D818C
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2a878c; /* rgb */ color: rgb(42, 135, 140); /* oklch */ color: oklch(57.3% 0.085 200.3);
Tailwind
colors: {
custom: {
50: '#72aaad',
500: '#2a878c',
950: '#000000',
},
}SCSS
$custom: #2a878c; $custom-light: #72aaad; $custom-dark: #000000;
JSON
{
"hex": "#2a878c",
"rgb": {
"r": 42,
"g": 135,
"b": 140
},
"hsl": {
"h": 183.061,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.57259,
"c": 0.08458,
"h": 200.3
},
"luminance": 0.19714
}Semantic roles & 50–950 ramp
primary
#2A878C
secondary
#B5615C
accent
#524BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F