#1F7871#1F7871
#1F7871 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.081 H 187.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7871 |
|---|---|
| RGB | rgb(31, 120, 113) |
| HSL | hsl(175, 59%, 30%) |
| HSV | hsv(175, 74%, 47%) |
| CMYK | cmyk(74.2%, 0%, 5.8%, 52.9%) |
| CIE-LAB | lab(45.52, -27.09, -3.61) |
| CIE-LCH | lch(45.52, 27.33, 187.60°) |
| OKLab | oklab(52.04% -0.0808 -0.0102) |
| OKLCH | oklch(52.04% 0.081 187.2) |
| XYZ | xyz(10.2608, 14.9153, 17.9577) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 2.77
Dark Aquamarine
#017371
ΔE00 2.90
Deep Turquoise
#017374
ΔE00 3.87
Teal
#008080
ΔE00 4.23
Deep Aqua
#08787F
ΔE00 5.97
Dark Aqua
#05696B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7871 #781F26
analogous
#1F7845 #1F7871 #1F5378
triadic
#1F7871 #711F78 #78711F
tetradic
#1F7871 #451F78 #781F26 #53781F
square
#1F7871 #451F78 #781F26 #53781F
split-complementary
#1F7871 #781F53 #78451F
monochromatic
#061817 #124743 #1F7871 #2CA99F #43CEC3
Accessibility & contrast
On white
5.27
#1F7871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#1F7871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7871
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7871 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#717171
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1f7871; /* rgb */ color: rgb(31, 120, 113); /* oklch */ color: oklch(52.0% 0.081 187.2);
Tailwind
colors: {
custom: {
50: '#6a9f99',
500: '#1f7871',
950: '#000000',
},
}SCSS
$custom: #1f7871; $custom-light: #6a9f99; $custom-dark: #000000;
JSON
{
"hex": "#1f7871",
"rgb": {
"r": 31,
"g": 120,
"b": 113
},
"hsl": {
"h": 175.281,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.52035,
"c": 0.08145,
"h": 187.2
},
"luminance": 0.14917
}Semantic roles & 50–950 ramp
primary
#1F7871
secondary
#AB474F
accent
#4652E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E