#20878A#20878A

#20878A is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.0% C 0.089 H 197.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#20878A
RGBrgb(32, 135, 138)
HSLhsl(182, 62%, 33%)
HSVhsv(182, 77%, 54%)
CMYKcmyk(76.8%, 2.2%, 0%, 45.9%)
CIE-LABlab(51.23, -26.71, -9.84)
CIE-LCHlch(51.23, 28.46, 200.23°)
OKLaboklab(56.95% -0.0845 -0.0273)
OKLCHoklch(56.95% 0.089 197.9)
XYZxyz(13.8450, 19.4683, 27.0679)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20878A #8A2320
analogous
#208A58 #20878A #20528A
triadic
#20878A #8A2087 #878A20
tetradic
#20878A #58208A #8A2320 #528A20
square
#20878A #58208A #8A2320 #528A20
split-complementary
#20878A #8A2052 #8A5820
monochromatic
#092627 #145658 #20878A #2CB8BC #4ED2D6

Accessibility & contrast

On white

4.29
#20878A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#20878A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20878A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20878A#FFFFFF#000000##000000
##20878A1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D808A
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #20878a;
/* rgb */ color: rgb(32, 135, 138);
/* oklch */ color: oklch(57.0% 0.089 197.9);
Tailwind
colors: {
  custom: {
    50: '#6faaac',
    500: '#20878a',
    950: '#000000',
  },
}
SCSS
$custom: #20878a;
$custom-light: #6faaac;
$custom-dark: #000000;
JSON
{
  "hex": "#20878a",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 138
  },
  "hsl": {
    "h": 181.698,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.08879,
    "h": 197.9
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#20878A
secondary
#B9504D
accent
#4742E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #20878A

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

Preview Lab → · Contrast checker → · Palette generator →

#20878A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva