#20877B#20877B

#20877B is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.092 H 183.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#20877B
RGBrgb(32, 135, 123)
HSLhsl(173, 62%, 33%)
HSVhsv(173, 76%, 53%)
CMYKcmyk(76.3%, 0%, 8.9%, 47.1%)
CIE-LABlab(50.76, -31.26, -1.79)
CIE-LCHlch(50.76, 31.31, 183.27°)
OKLaboklab(56.41% -0.0916 -0.0053)
OKLCHoklch(56.41% 0.092 183.3)
XYZxyz(12.8331, 19.0635, 21.7383)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20877B #87202C
analogous
#208748 #20877B #205F87
triadic
#20877B #7B2087 #877B20
tetradic
#20877B #482087 #87202C #5F8720
square
#20877B #482087 #87202C #5F8720
split-complementary
#20877B #87205F #874820
monochromatic
#092421 #14564E #20877B #2CB8A8 #4DD5C5

Accessibility & contrast

On white

4.36
#20877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#20877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20877B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20877B#FFFFFF#000000##000000
##20877B1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7B
Deuteranopia (green-blind)
#72757C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #20877b;
/* rgb */ color: rgb(32, 135, 123);
/* oklch */ color: oklch(56.4% 0.092 183.3);
Tailwind
colors: {
  custom: {
    50: '#6eaaa1',
    500: '#20877b',
    950: '#000000',
  },
}
SCSS
$custom: #20877b;
$custom-light: #6eaaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#20877b",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 173.01,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.09176,
    "h": 183.3
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#20877B
secondary
#B84B58
accent
#4356E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #20877B

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

Preview Lab → · Contrast checker → · Palette generator →

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