#1F7987#1F7987
#1F7987 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.083 H 210.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7987 |
|---|---|
| RGB | rgb(31, 121, 135) |
| HSL | hsl(188, 63%, 33%) |
| HSV | hsv(188, 77%, 53%) |
| CMYK | cmyk(77%, 10.4%, 0%, 47.1%) |
| CIE-LAB | lab(46.60, -20.57, -15.08) |
| CIE-LCH | lch(46.60, 25.50, 216.24°) |
| OKLab | oklab(53.16% -0.0716 -0.042) |
| OKLCH | oklch(53.16% 0.083 210.4) |
| XYZ | xyz(11.7737, 15.7139, 25.3295) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 3.24
Deep Aqua
#08787F
ΔE00 3.67
Teal Blue
#01889F
ΔE00 6.18
Deep Turquoise
#017374
ΔE00 6.70
Teal
#008080
ΔE00 7.11
Bluegreen
#017A79
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7987 #872D1F
analogous
#1F8761 #1F7987 #1F4587
triadic
#1F7987 #871F79 #79871F
tetradic
#1F7987 #611F87 #872D1F #45871F
square
#1F7987 #611F87 #872D1F #45871F
split-complementary
#1F7987 #871F45 #87611F
monochromatic
#082023 #144C55 #1F7987 #2AA6B9 #4BC3D6
Accessibility & contrast
On white
5.07
#1F7987 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#1F7987 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7987
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7987 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7488
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7987; /* rgb */ color: rgb(31, 121, 135); /* oklch */ color: oklch(53.2% 0.083 210.4);
Tailwind
colors: {
custom: {
50: '#6da0aa',
500: '#1f7987',
950: '#000000',
},
}SCSS
$custom: #1f7987; $custom-light: #6da0aa; $custom-dark: #000000;
JSON
{
"hex": "#1f7987",
"rgb": {
"r": 31,
"g": 121,
"b": 135
},
"hsl": {
"h": 188.077,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.53159,
"c": 0.08303,
"h": 210.4
},
"luminance": 0.15715
}Semantic roles & 50–950 ramp
primary
#1F7987
secondary
#B8584A
accent
#5842E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F