#1F7786#1F7786
#1F7786 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.6% C 0.082 H 211.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7786 |
|---|---|
| RGB | rgb(31, 119, 134) |
| HSL | hsl(189, 62%, 32%) |
| HSV | hsv(189, 77%, 53%) |
| CMYK | cmyk(76.9%, 11.2%, 0%, 47.5%) |
| CIE-LAB | lab(45.91, -19.83, -15.53) |
| CIE-LCH | lch(45.91, 25.19, 218.05°) |
| OKLab | oklab(52.6% -0.07 -0.0432) |
| OKLCH | oklch(52.6% 0.082 211.7) |
| XYZ | xyz(11.4631, 15.2048, 24.8803) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 3.06
Deep Aqua
#08787F
ΔE00 4.14
Teal Blue
#01889F
ΔE00 6.67
Sea Blue
#047495
ΔE00 6.72
Deep Turquoise
#017374
ΔE00 6.97
Bluegreen
#017A79
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7786 #862E1F
analogous
#1F8662 #1F7786 #1F4386
triadic
#1F7786 #861F77 #77861F
tetradic
#1F7786 #621F86 #862E1F #43861F
square
#1F7786 #621F86 #862E1F #43861F
split-complementary
#1F7786 #861F43 #86621F
monochromatic
#081F23 #144B54 #1F7786 #2AA3B8 #4AC1D5
Accessibility & contrast
On white
5.20
#1F7786 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#1F7786 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7786
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7786 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7387
Deuteranopia (green-blind)
#5D6886
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7786; /* rgb */ color: rgb(31, 119, 134); /* oklch */ color: oklch(52.6% 0.082 211.7);
Tailwind
colors: {
custom: {
50: '#6c9ea9',
500: '#1f7786',
950: '#000000',
},
}SCSS
$custom: #1f7786; $custom-light: #6c9ea9; $custom-dark: #000000;
JSON
{
"hex": "#1f7786",
"rgb": {
"r": 31,
"g": 119,
"b": 134
},
"hsl": {
"h": 188.738,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.52596,
"c": 0.08225,
"h": 211.7
},
"luminance": 0.15206
}Semantic roles & 50–950 ramp
primary
#1F7786
secondary
#B85949
accent
#5A42E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F