#1F7F8D#1F7F8D
#1F7F8D is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.0% C 0.087 H 209.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7F8D |
|---|---|
| RGB | rgb(31, 127, 141) |
| HSL | hsl(188, 64%, 34%) |
| HSV | hsv(188, 78%, 55%) |
| CMYK | cmyk(78%, 9.9%, 0%, 44.7%) |
| CIE-LAB | lab(48.75, -21.74, -15.35) |
| CIE-LCH | lch(48.75, 26.61, 215.21°) |
| OKLab | oklab(54.97% -0.0752 -0.0427) |
| OKLCH | oklch(54.97% 0.087 209.6) |
| XYZ | xyz(12.9601, 17.3916, 27.8680) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 3.64
Deep Aqua
#08787F
ΔE00 4.37
Teal Blue
#01889F
ΔE00 4.41
Dark Cyan
#0A888A
ΔE00 6.39
Teal
#008080
ΔE00 6.54
Bluegreen
#017A79
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7F8D #8D2D1F
analogous
#1F8D64 #1F7F8D #1F488D
triadic
#1F7F8D #8D1F7F #7F8D1F
tetradic
#1F7F8D #641F8D #8D2D1F #488D1F
square
#1F7F8D #641F8D #8D2D1F #488D1F
split-complementary
#1F7F8D #8D1F48 #8D641F
monochromatic
#092529 #14525B #1F7F8D #2AACBF #4EC7D8
Accessibility & contrast
On white
4.69
#1F7F8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#1F7F8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7F8D
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7F8D | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737A8E
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f7f8d; /* rgb */ color: rgb(31, 127, 141); /* oklch */ color: oklch(55.0% 0.087 209.6);
Tailwind
colors: {
custom: {
50: '#6ea4ae',
500: '#1f7f8d',
950: '#000000',
},
}SCSS
$custom: #1f7f8d; $custom-light: #6ea4ae; $custom-dark: #000000;
JSON
{
"hex": "#1f7f8d",
"rgb": {
"r": 31,
"g": 127,
"b": 141
},
"hsl": {
"h": 187.636,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.54971,
"c": 0.08652,
"h": 209.6
},
"luminance": 0.17393
}Semantic roles & 50–950 ramp
primary
#1F7F8D
secondary
#BB5B4D
accent
#5641E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F