#1F878F#1F878F
#1F878F is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.090 H 202.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F878F |
|---|---|
| RGB | rgb(31, 135, 143) |
| HSL | hsl(184, 64%, 34%) |
| HSV | hsv(184, 78%, 56%) |
| CMYK | cmyk(78.3%, 5.6%, 0%, 43.9%) |
| CIE-LAB | lab(51.38, -25.23, -12.53) |
| CIE-LCH | lch(51.38, 28.17, 206.41°) |
| OKLab | oklab(57.12% -0.0826 -0.0348) |
| OKLCH | oklch(57.12% 0.09 202.9) |
| XYZ | xyz(14.1848, 19.6007, 29.0170) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Cyan
#0A888A
ΔE00 2.92
Darkcyan
#008B8B
ΔE00 4.02
Teal
#008080
ΔE00 4.77
Greenish Blue
#0B8B87
ΔE00 5.45
Teal Blue
#01889F
ΔE00 5.59
Deep Aqua
#08787F
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F878F #8F271F
analogous
#1F8F5F #1F878F #1F4F8F
triadic
#1F878F #8F1F87 #878F1F
tetradic
#1F878F #5F1F8F #8F271F #4F8F1F
square
#1F878F #5F1F8F #8F271F #4F8F1F
split-complementary
#1F878F #8F1F4F #8F5F1F
monochromatic
#09282A #14585D #1F878F #2AB6C1 #4FCFD9
Accessibility & contrast
On white
4.27
#1F878F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#1F878F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F878F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F878F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F878F | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8190
Deuteranopia (green-blind)
#6C768F
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f878f; /* rgb */ color: rgb(31, 135, 143); /* oklch */ color: oklch(57.1% 0.090 202.9);
Tailwind
colors: {
custom: {
50: '#6faaaf',
500: '#1f878f',
950: '#000000',
},
}SCSS
$custom: #1f878f; $custom-light: #6faaaf; $custom-dark: #000000;
JSON
{
"hex": "#1f878f",
"rgb": {
"r": 31,
"g": 135,
"b": 143
},
"hsl": {
"h": 184.286,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.57124,
"c": 0.08961,
"h": 202.9
},
"luminance": 0.19602
}Semantic roles & 50–950 ramp
primary
#1F878F
secondary
#BC564E
accent
#4C40E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F