#3A877C#3A877C
#3A877C is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.078 H 182.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3A877C |
|---|---|
| RGB | rgb(58, 135, 124) |
| HSL | hsl(171, 40%, 38%) |
| HSV | hsv(171, 57%, 53%) |
| CMYK | cmyk(57%, 0%, 8.1%, 47.1%) |
| CIE-LAB | lab(51.48, -26.50, -1.24) |
| CIE-LCH | lch(51.48, 26.53, 182.68°) |
| OKLab | oklab(57.2% -0.0778 -0.0038) |
| OKLCH | oklch(57.2% 0.078 182.8) |
| XYZ | xyz(14.0454, 19.6814, 22.1236) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dusty Teal
#4C9085
ΔE00 3.82
Greenish Blue
#0B8B87
ΔE00 4.18
Teal (survey)
#029386
ΔE00 5.06
Darkcyan
#008B8B
ΔE00 5.41
Dark Cyan
#0A888A
ΔE00 5.82
Teal
#008080
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A877C #873A45
analogous
#3A8756 #3A877C #3A6B87
triadic
#3A877C #7C3A87 #877C3A
tetradic
#3A877C #563A87 #873A45 #6B873A
square
#3A877C #563A87 #873A45 #6B873A
split-complementary
#3A877C #873A6B #87563A
monochromatic
#15312D #285C55 #3A877C #4CB2A3 #77C5B9
Accessibility & contrast
On white
4.25
#3A877C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#3A877C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A877C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A877C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A877C | 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)
#81807C
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#008984
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #3a877c; /* rgb */ color: rgb(58, 135, 124); /* oklch */ color: oklch(57.2% 0.078 182.8);
Tailwind
colors: {
custom: {
50: '#78aaa1',
500: '#3a877c',
950: '#000000',
},
}SCSS
$custom: #3a877c; $custom-light: #78aaa1; $custom-dark: #000000;
JSON
{
"hex": "#3a877c",
"rgb": {
"r": 58,
"g": 135,
"b": 124
},
"hsl": {
"h": 171.429,
"s": 39.896,
"l": 37.843
},
"oklch": {
"l": 0.57197,
"c": 0.07786,
"h": 182.8
},
"luminance": 0.19683
}Semantic roles & 50–950 ramp
primary
#3A877C
secondary
#AE6F78
accent
#5869D0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100F
muted
#7B7F7E