#1F877B#1F877B
#1F877B is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.092 H 183.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F877B |
|---|---|
| RGB | rgb(31, 135, 123) |
| HSL | hsl(173, 63%, 33%) |
| HSV | hsv(173, 77%, 53%) |
| CMYK | cmyk(77%, 0%, 8.9%, 47.1%) |
| CIE-LAB | lab(50.74, -31.38, -1.82) |
| CIE-LCH | lch(50.74, 31.43, 183.31°) |
| OKLab | oklab(56.39% -0.092 -0.0054) |
| OKLCH | oklch(56.39% 0.092 183.4) |
| XYZ | xyz(12.8025, 19.0478, 21.7369) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.63
Teal (survey)
#029386
ΔE00 4.24
Darkcyan
#008B8B
ΔE00 5.14
Teal
#008080
ΔE00 5.46
Dusty Teal
#4C9085
ΔE00 5.48
Dark Cyan
#0A888A
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F877B #871F2B
analogous
#1F8747 #1F877B #1F5F87
triadic
#1F877B #7B1F87 #877B1F
tetradic
#1F877B #471F87 #871F2B #5F871F
square
#1F877B #471F87 #871F2B #5F871F
split-complementary
#1F877B #871F5F #87471F
monochromatic
#082320 #14554E #1F877B #2AB9A8 #4BD6C6
Accessibility & contrast
On white
4.37
#1F877B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#1F877B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F877B
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F877B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F877B | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7B
Deuteranopia (green-blind)
#72747C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #1f877b; /* rgb */ color: rgb(31, 135, 123); /* oklch */ color: oklch(56.4% 0.092 183.4);
Tailwind
colors: {
custom: {
50: '#6daaa1',
500: '#1f877b',
950: '#000000',
},
}SCSS
$custom: #1f877b; $custom-light: #6daaa1; $custom-dark: #000000;
JSON
{
"hex": "#1f877b",
"rgb": {
"r": 31,
"g": 135,
"b": 123
},
"hsl": {
"h": 173.077,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.56392,
"c": 0.09214,
"h": 183.4
},
"luminance": 0.19049
}Semantic roles & 50–950 ramp
primary
#1F877B
secondary
#B84A56
accent
#4255E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E