#1F7F8A#1F7F8A
#1F7F8A is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.086 H 206.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7F8A |
|---|---|
| RGB | rgb(31, 127, 138) |
| HSL | hsl(186, 63%, 33%) |
| HSV | hsv(186, 78%, 54%) |
| CMYK | cmyk(77.5%, 8%, 0%, 45.9%) |
| CIE-LAB | lab(48.64, -22.74, -13.75) |
| CIE-LCH | lch(48.64, 26.57, 211.16°) |
| OKLab | oklab(54.85% -0.0766 -0.0382) |
| OKLCH | oklch(54.85% 0.086 206.5) |
| XYZ | xyz(12.7399, 17.3035, 26.7083) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 3.48
Ocean
#017B92
ΔE00 4.78
Teal
#008080
ΔE00 5.28
Teal Blue
#01889F
ΔE00 5.33
Dark Cyan
#0A888A
ΔE00 5.33
Bluegreen
#017A79
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7F8A #8A2A1F
analogous
#1F8A5F #1F7F8A #1F498A
triadic
#1F7F8A #8A1F7F #7F8A1F
tetradic
#1F7F8A #5F1F8A #8A2A1F #498A1F
square
#1F7F8A #5F1F8A #8A2A1F #498A1F
split-complementary
#1F7F8A #8A1F49 #8A5F1F
monochromatic
#092326 #145158 #1F7F8A #2AADBC #4CC9D7
Accessibility & contrast
On white
4.71
#1F7F8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#1F7F8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7F8A
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7F8A | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f7f8a; /* rgb */ color: rgb(31, 127, 138); /* oklch */ color: oklch(54.8% 0.086 206.5);
Tailwind
colors: {
custom: {
50: '#6ea4ac',
500: '#1f7f8a',
950: '#000000',
},
}SCSS
$custom: #1f7f8a; $custom-light: #6ea4ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7f8a",
"rgb": {
"r": 31,
"g": 127,
"b": 138
},
"hsl": {
"h": 186.168,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.54846,
"c": 0.08558,
"h": 206.5
},
"luminance": 0.17305
}Semantic roles & 50–950 ramp
primary
#1F7F8A
secondary
#BA574B
accent
#5241E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F