#1F878A#1F878A
#1F878A is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.9% C 0.089 H 197.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F878A |
|---|---|
| RGB | rgb(31, 135, 138) |
| HSL | hsl(182, 63%, 33%) |
| HSV | hsv(182, 78%, 54%) |
| CMYK | cmyk(77.5%, 2.2%, 0%, 45.9%) |
| CIE-LAB | lab(51.21, -26.82, -9.87) |
| CIE-LCH | lch(51.21, 28.58, 200.20°) |
| OKLab | oklab(56.93% -0.0848 -0.0274) |
| OKLCH | oklch(56.93% 0.089 197.9) |
| XYZ | xyz(13.8144, 19.4525, 27.0665) |
| Luminance | 0.1945 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Cyan
#0A888A
ΔE00 1.06
Darkcyan
#008B8B
ΔE00 2.24
Teal
#008080
ΔE00 3.32
Greenish Blue
#0B8B87
ΔE00 3.44
Bluegreen
#017A79
ΔE00 5.43
Deep Aqua
#08787F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F878A #8A221F
analogous
#1F8A57 #1F878A #1F518A
triadic
#1F878A #8A1F87 #878A1F
tetradic
#1F878A #571F8A #8A221F #518A1F
square
#1F878A #571F8A #8A221F #518A1F
split-complementary
#1F878A #8A1F51 #8A571F
monochromatic
#092526 #145658 #1F878A #2AB8BC #4CD3D7
Accessibility & contrast
On white
4.29
#1F878A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#1F878A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F878A
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F878A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F878A | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D808A
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f878a; /* rgb */ color: rgb(31, 135, 138); /* oklch */ color: oklch(56.9% 0.089 197.9);
Tailwind
colors: {
custom: {
50: '#6faaac',
500: '#1f878a',
950: '#000000',
},
}SCSS
$custom: #1f878a; $custom-light: #6faaac; $custom-dark: #000000;
JSON
{
"hex": "#1f878a",
"rgb": {
"r": 31,
"g": 135,
"b": 138
},
"hsl": {
"h": 181.682,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.5693,
"c": 0.08917,
"h": 197.9
},
"luminance": 0.19454
}Semantic roles & 50–950 ramp
primary
#1F878A
secondary
#BA4E4B
accent
#4641E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F