#1F787B#1F787B
#1F787B is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.080 H 198.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F787B |
|---|---|
| RGB | rgb(31, 120, 123) |
| HSL | hsl(182, 60%, 30%) |
| HSV | hsv(182, 75%, 48%) |
| CMYK | cmyk(74.8%, 2.4%, 0%, 51.8%) |
| CIE-LAB | lab(45.84, -23.98, -9.09) |
| CIE-LCH | lch(45.84, 25.64, 200.76°) |
| OKLab | oklab(52.41% -0.076 -0.0252) |
| OKLCH | oklch(52.41% 0.08 198.4) |
| XYZ | xyz(10.8551, 15.1530, 21.0878) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.71
Bluegreen
#017A79
ΔE00 2.53
Deep Turquoise
#017374
ΔE00 2.58
Dark Aquamarine
#017371
ΔE00 3.44
Teal
#008080
ΔE00 3.47
Dark Aqua
#05696B
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F787B #7B221F
analogous
#1F7B50 #1F787B #1F4A7B
triadic
#1F787B #7B1F78 #787B1F
tetradic
#1F787B #501F7B #7B221F #4A7B1F
square
#1F787B #501F7B #7B221F #4A7B1F
split-complementary
#1F787B #7B1F4A #7B501F
monochromatic
#061919 #13484A #1F787B #2BA8AC #44CBD0
Accessibility & contrast
On white
5.21
#1F787B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#1F787B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F787B
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F787B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F787B | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F727B
Deuteranopia (green-blind)
#62687C
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f787b; /* rgb */ color: rgb(31, 120, 123); /* oklch */ color: oklch(52.4% 0.080 198.4);
Tailwind
colors: {
custom: {
50: '#6b9fa1',
500: '#1f787b',
950: '#000000',
},
}SCSS
$custom: #1f787b; $custom-light: #6b9fa1; $custom-dark: #000000;
JSON
{
"hex": "#1f787b",
"rgb": {
"r": 31,
"g": 120,
"b": 123
},
"hsl": {
"h": 181.957,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.52407,
"c": 0.08009,
"h": 198.4
},
"luminance": 0.15154
}Semantic roles & 50–950 ramp
primary
#1F787B
secondary
#AE4B48
accent
#4A45E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E