#20797B#20797B

#20797B is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.080 H 197.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#20797B
RGBrgb(32, 121, 123)
HSLhsl(181, 59%, 30%)
HSVhsv(181, 74%, 48%)
CMYKcmyk(74%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.19, -24.36, -8.56)
CIE-LCHlch(46.19, 25.82, 199.37°)
OKLaboklab(52.7% -0.0767 -0.0238)
OKLCHoklch(52.7% 0.08 197.2)
XYZxyz(11.0066, 15.4106, 21.1295)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20797B #7B2220
analogous
#207B50 #20797B #204B7B
triadic
#20797B #7B2079 #797B20
tetradic
#20797B #50207B #7B2220 #4B7B20
square
#20797B #50207B #7B2220 #4B7B20
split-complementary
#20797B #7B204B #7B5020
monochromatic
#07191A #13494A #20797B #2DA9AC #46CCCF

Accessibility & contrast

On white

5.14
#20797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#20797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20797B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20797B#FFFFFF#000000##FFFFFF
##20797B1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737B
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20797b;
/* rgb */ color: rgb(32, 121, 123);
/* oklch */ color: oklch(52.7% 0.080 197.2);
Tailwind
colors: {
  custom: {
    50: '#6ba0a1',
    500: '#20797b',
    950: '#000000',
  },
}
SCSS
$custom: #20797b;
$custom-light: #6ba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20797b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.319,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.08026,
    "h": 197.2
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#20797B
secondary
#AE4B49
accent
#4946E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #20797B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#20797B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva