#1F7E8A#1F7E8A
#1F7E8A is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.6% C 0.085 H 207.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7E8A |
|---|---|
| RGB | rgb(31, 126, 138) |
| HSL | hsl(187, 63%, 33%) |
| HSV | hsv(187, 78%, 54%) |
| CMYK | cmyk(77.5%, 8.7%, 0%, 45.9%) |
| CIE-LAB | lab(48.32, -22.21, -14.24) |
| CIE-LCH | lch(48.32, 26.38, 212.65°) |
| OKLab | oklab(54.59% -0.0755 -0.0396) |
| OKLCH | oklch(54.59% 0.085 207.7) |
| XYZ | xyz(12.6114, 17.0465, 26.6655) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 3.52
Ocean
#017B92
ΔE00 4.26
Teal Blue
#01889F
ΔE00 5.24
Teal
#008080
ΔE00 5.75
Dark Cyan
#0A888A
ΔE00 5.91
Bluegreen
#017A79
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7E8A #8A2B1F
analogous
#1F8A60 #1F7E8A #1F488A
triadic
#1F7E8A #8A1F7E #7E8A1F
tetradic
#1F7E8A #601F8A #8A2B1F #488A1F
square
#1F7E8A #601F8A #8A2B1F #488A1F
split-complementary
#1F7E8A #8A1F48 #8A601F
monochromatic
#092326 #145058 #1F7E8A #2AACBC #4CC7D7
Accessibility & contrast
On white
4.76
#1F7E8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#1F7E8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7E8A
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7E8A | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #1f7e8a; /* rgb */ color: rgb(31, 126, 138); /* oklch */ color: oklch(54.6% 0.085 207.7);
Tailwind
colors: {
custom: {
50: '#6ea3ac',
500: '#1f7e8a',
950: '#000000',
},
}SCSS
$custom: #1f7e8a; $custom-light: #6ea3ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7e8a",
"rgb": {
"r": 31,
"g": 126,
"b": 138
},
"hsl": {
"h": 186.729,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.54586,
"c": 0.08527,
"h": 207.7
},
"luminance": 0.17048
}Semantic roles & 50–950 ramp
primary
#1F7E8A
secondary
#BA584B
accent
#5441E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F