#20797E#20797E

#20797E is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.080 H 200.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#20797E
RGBrgb(32, 121, 126)
HSLhsl(183, 59%, 31%)
HSVhsv(183, 75%, 49%)
CMYKcmyk(74.6%, 4%, 0%, 50.6%)
CIE-LABlab(46.29, -23.40, -10.19)
CIE-LCHlch(46.29, 25.52, 203.54°)
OKLaboklab(52.81% -0.0753 -0.0283)
OKLCHoklch(52.81% 0.08 200.6)
XYZxyz(11.1973, 15.4868, 22.1337)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20797E #7E2520
analogous
#207E54 #20797E #204A7E
triadic
#20797E #7E2079 #797E20
tetradic
#20797E #54207E #7E2520 #4A7E20
square
#20797E #54207E #7E2520 #4A7E20
split-complementary
#20797E #7E204A #7E5420
monochromatic
#071B1C #144A4D #20797E #2CA8AF #48C9D0

Accessibility & contrast

On white

5.12
#20797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#20797E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20797E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20797E#FFFFFF#000000##FFFFFF
##20797E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737E
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #20797e;
/* rgb */ color: rgb(32, 121, 126);
/* oklch */ color: oklch(52.8% 0.080 200.6);
Tailwind
colors: {
  custom: {
    50: '#6ca0a3',
    500: '#20797e',
    950: '#000000',
  },
}
SCSS
$custom: #20797e;
$custom-light: #6ca0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20797e",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.191,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.0804,
    "h": 200.6
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#20797E
secondary
#B14E49
accent
#4E45E3
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #20797E

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

Preview Lab → · Contrast checker → · Palette generator →

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