#1F787F#1F787F
#1F787F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.080 H 202.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F787F |
|---|---|
| RGB | rgb(31, 120, 127) |
| HSL | hsl(184, 61%, 31%) |
| HSV | hsv(184, 76%, 50%) |
| CMYK | cmyk(75.6%, 5.5%, 0%, 50.2%) |
| CIE-LAB | lab(45.98, -22.69, -11.26) |
| CIE-LCH | lch(45.98, 25.33, 206.40°) |
| OKLab | oklab(52.57% -0.0742 -0.0313) |
| OKLCH | oklch(52.57% 0.08 202.9) |
| XYZ | xyz(11.1106, 15.2552, 22.4335) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.09
Deep Turquoise
#017374
ΔE00 3.83
Bluegreen
#017A79
ΔE00 4.17
Teal
#008080
ΔE00 4.62
Dark Aquamarine
#017371
ΔE00 4.97
Dark Aqua
#05696B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F787F #7F261F
analogous
#1F7F56 #1F787F #1F487F
triadic
#1F787F #7F1F78 #787F1F
tetradic
#1F787F #561F7F #7F261F #487F1F
square
#1F787F #561F7F #7F261F #487F1F
split-complementary
#1F787F #7F1F48 #7F561F
monochromatic
#071B1D #134A4E #1F787F #2BA6B0 #46C8D2
Accessibility & contrast
On white
5.18
#1F787F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#1F787F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F787F
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F787F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F787F | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f787f; /* rgb */ color: rgb(31, 120, 127); /* oklch */ color: oklch(52.6% 0.080 202.9);
Tailwind
colors: {
custom: {
50: '#6b9fa4',
500: '#1f787f',
950: '#000000',
},
}SCSS
$custom: #1f787f; $custom-light: #6b9fa4; $custom-dark: #000000;
JSON
{
"hex": "#1f787f",
"rgb": {
"r": 31,
"g": 120,
"b": 127
},
"hsl": {
"h": 184.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.52566,
"c": 0.08049,
"h": 202.9
},
"luminance": 0.15257
}Semantic roles & 50–950 ramp
primary
#1F787F
secondary
#B25048
accent
#5044E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F