#20878F#20878F

#20878F is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.089 H 202.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#20878F
RGBrgb(32, 135, 143)
HSLhsl(184, 63%, 34%)
HSVhsv(184, 78%, 56%)
CMYKcmyk(77.6%, 5.6%, 0%, 43.9%)
CIE-LABlab(51.40, -25.12, -12.50)
CIE-LCHlch(51.40, 28.05, 206.46°)
OKLaboklab(57.14% -0.0822 -0.0347)
OKLCHoklch(57.14% 0.089 202.9)
XYZxyz(14.2153, 19.6165, 29.0184)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20878F #8F2820
analogous
#208F60 #20878F #20508F
triadic
#20878F #8F2087 #878F20
tetradic
#20878F #60208F #8F2820 #508F20
square
#20878F #60208F #8F2820 #508F20
split-complementary
#20878F #8F2050 #8F6020
monochromatic
#0A292B #15585D #20878F #2BB6C1 #51CED8

Accessibility & contrast

On white

4.27
#20878F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#20878F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20878F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20878F#FFFFFF#000000##000000
##20878F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8190
Deuteranopia (green-blind)
#6C768F
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #20878f;
/* rgb */ color: rgb(32, 135, 143);
/* oklch */ color: oklch(57.1% 0.089 202.9);
Tailwind
colors: {
  custom: {
    50: '#70aaaf',
    500: '#20878f',
    950: '#000000',
  },
}
SCSS
$custom: #20878f;
$custom-light: #70aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#20878f",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 184.324,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.08925,
    "h": 202.9
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#20878F
secondary
#BB574F
accent
#4D41E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #20878F

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

Preview Lab → · Contrast checker → · Palette generator →

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