#20787F#20787F

#20787F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.080 H 202.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#20787F
RGBrgb(32, 120, 127)
HSLhsl(184, 60%, 31%)
HSVhsv(184, 75%, 50%)
CMYKcmyk(74.8%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.00, -22.55, -11.23)
CIE-LCHlch(46.00, 25.19, 206.46°)
OKLaboklab(52.59% -0.0737 -0.0312)
OKLCHoklch(52.59% 0.08 202.9)
XYZxyz(11.1412, 15.2710, 22.4350)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20787F #7F2720
analogous
#207F56 #20787F #20487F
triadic
#20787F #7F2078 #787F20
tetradic
#20787F #56207F #7F2720 #487F20
square
#20787F #56207F #7F2720 #487F20
split-complementary
#20787F #7F2048 #7F5620
monochromatic
#071C1D #144A4E #20787F #2CA6B0 #48C7D1

Accessibility & contrast

On white

5.18
#20787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#20787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20787F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20787F#FFFFFF#000000##FFFFFF
##20787F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20787f;
/* rgb */ color: rgb(32, 120, 127);
/* oklch */ color: oklch(52.6% 0.080 202.9);
Tailwind
colors: {
  custom: {
    50: '#6c9fa4',
    500: '#20787f',
    950: '#000000',
  },
}
SCSS
$custom: #20787f;
$custom-light: #6c9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#20787f",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.421,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.08005,
    "h": 202.9
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#20787F
secondary
#B25149
accent
#5145E3
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #20787F

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

Preview Lab → · Contrast checker → · Palette generator →

#20787F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva