#1F878C#1F878C
#1F878C is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.0% C 0.089 H 199.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F878C |
|---|---|
| RGB | rgb(31, 135, 140) |
| HSL | hsl(183, 64%, 34%) |
| HSV | hsv(183, 78%, 55%) |
| CMYK | cmyk(77.9%, 3.6%, 0%, 45.1%) |
| CIE-LAB | lab(51.28, -26.19, -10.93) |
| CIE-LCH | lch(51.28, 28.38, 202.66°) |
| OKLab | oklab(57.01% -0.0839 -0.0304) |
| OKLCH | oklch(57.01% 0.089 199.9) |
| XYZ | xyz(13.9605, 19.5110, 27.8361) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Cyan
#0A888A
ΔE00 1.73
Darkcyan
#008B8B
ΔE00 2.89
Teal
#008080
ΔE00 3.82
Greenish Blue
#0B8B87
ΔE00 4.23
Deep Aqua
#08787F
ΔE00 5.68
Bluegreen
#017A79
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F878C #8C241F
analogous
#1F8C5A #1F878C #1F508C
triadic
#1F878C #8C1F87 #878C1F
tetradic
#1F878C #5A1F8C #8C241F #508C1F
square
#1F878C #5A1F8C #8C241F #508C1F
split-complementary
#1F878C #8C1F50 #8C5A1F
monochromatic
#092628 #14575A #1F878C #2AB7BE #4ED1D8
Accessibility & contrast
On white
4.28
#1F878C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#1F878C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F878C
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F878C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F878C | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D818C
Deuteranopia (green-blind)
#6D758D
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f878c; /* rgb */ color: rgb(31, 135, 140); /* oklch */ color: oklch(57.0% 0.089 199.9);
Tailwind
colors: {
custom: {
50: '#6faaad',
500: '#1f878c',
950: '#000000',
},
}SCSS
$custom: #1f878c; $custom-light: #6faaad; $custom-dark: #000000;
JSON
{
"hex": "#1f878c",
"rgb": {
"r": 31,
"g": 135,
"b": 140
},
"hsl": {
"h": 182.752,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.57007,
"c": 0.08926,
"h": 199.9
},
"luminance": 0.19513
}Semantic roles & 50–950 ramp
primary
#1F878C
secondary
#BB514C
accent
#4941E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F