#1F797C#1F797C
#1F797C is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.081 H 198.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F797C |
|---|---|
| RGB | rgb(31, 121, 124) |
| HSL | hsl(182, 60%, 30%) |
| HSV | hsv(182, 75%, 49%) |
| CMYK | cmyk(75%, 2.4%, 0%, 51.4%) |
| CIE-LAB | lab(46.20, -24.17, -9.14) |
| CIE-LCH | lch(46.20, 25.84, 200.72°) |
| OKLab | oklab(52.71% -0.0766 -0.0254) |
| OKLCH | oklch(52.71% 0.081 198.3) |
| XYZ | xyz(11.0389, 15.4200, 21.4594) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.76
Bluegreen
#017A79
ΔE00 2.45
Deep Turquoise
#017374
ΔE00 2.84
Teal
#008080
ΔE00 3.18
Dark Aquamarine
#017371
ΔE00 3.64
Dark Cyan
#0A888A
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F797C #7C221F
analogous
#1F7C50 #1F797C #1F4B7C
triadic
#1F797C #7C1F79 #797C1F
tetradic
#1F797C #501F7C #7C221F #4B7C1F
square
#1F797C #501F7C #7C221F #4B7C1F
split-complementary
#1F797C #7C1F4B #7C501F
monochromatic
#07191A #13494B #1F797C #2BA9AD #45CCD0
Accessibility & contrast
On white
5.14
#1F797C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#1F797C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F797C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F797C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F797C | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#63697D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f797c; /* rgb */ color: rgb(31, 121, 124); /* oklch */ color: oklch(52.7% 0.081 198.3);
Tailwind
colors: {
custom: {
50: '#6ba0a1',
500: '#1f797c',
950: '#000000',
},
}SCSS
$custom: #1f797c; $custom-light: #6ba0a1; $custom-dark: #000000;
JSON
{
"hex": "#1f797c",
"rgb": {
"r": 31,
"g": 121,
"b": 124
},
"hsl": {
"h": 181.935,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.52711,
"c": 0.08072,
"h": 198.3
},
"luminance": 0.15421
}Semantic roles & 50–950 ramp
primary
#1F797C
secondary
#AF4B48
accent
#4A45E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E