#1F797F#1F797F
#1F797F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.081 H 201.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F797F |
|---|---|
| RGB | rgb(31, 121, 127) |
| HSL | hsl(184, 61%, 31%) |
| HSV | hsv(184, 76%, 50%) |
| CMYK | cmyk(75.6%, 4.7%, 0%, 50.2%) |
| CIE-LAB | lab(46.31, -23.21, -10.77) |
| CIE-LCH | lch(46.31, 25.58, 204.89°) |
| OKLab | oklab(52.83% -0.0752 -0.0299) |
| OKLCH | oklch(52.83% 0.081 201.7) |
| XYZ | xyz(11.2315, 15.4970, 22.4738) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.07
Deep Turquoise
#017374
ΔE00 3.67
Bluegreen
#017A79
ΔE00 3.69
Teal
#008080
ΔE00 4.05
Dark Aquamarine
#017371
ΔE00 4.71
Dark Cyan
#0A888A
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F797F #7F251F
analogous
#1F7F55 #1F797F #1F497F
triadic
#1F797F #7F1F79 #797F1F
tetradic
#1F797F #551F7F #7F251F #497F1F
square
#1F797F #551F7F #7F251F #497F1F
split-complementary
#1F797F #7F1F49 #7F551F
monochromatic
#071B1D #134A4E #1F797F #2BA8B0 #46C9D2
Accessibility & contrast
On white
5.12
#1F797F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1F797F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F797F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F797F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F797F | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F737F
Deuteranopia (green-blind)
#62697F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f797f; /* rgb */ color: rgb(31, 121, 127); /* oklch */ color: oklch(52.8% 0.081 201.7);
Tailwind
colors: {
custom: {
50: '#6ca0a4',
500: '#1f797f',
950: '#000000',
},
}SCSS
$custom: #1f797f; $custom-light: #6ca0a4; $custom-dark: #000000;
JSON
{
"hex": "#1f797f",
"rgb": {
"r": 31,
"g": 121,
"b": 127
},
"hsl": {
"h": 183.75,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.52829,
"c": 0.08096,
"h": 201.7
},
"luminance": 0.15498
}Semantic roles & 50–950 ramp
primary
#1F797F
secondary
#B24E48
accent
#4E44E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F