#20838C#20838C

#20838C is a mid, moderate teal. Relative luminance 0.184; OKLCH L 56.0% C 0.087 H 204.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#20838C
RGBrgb(32, 131, 140)
HSLhsl(185, 63%, 34%)
HSVhsv(185, 77%, 55%)
CMYKcmyk(77.1%, 6.4%, 0%, 45.1%)
CIE-LABlab(50.02, -24.04, -12.84)
CIE-LCHlch(50.02, 27.25, 208.11°)
OKLaboklab(55.99% -0.0794 -0.0357)
OKLCHoklch(55.99% 0.087 204.2)
XYZxyz(13.4435, 18.4315, 27.6550)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20838C #8C2920
analogous
#208C5F #20838C #204D8C
triadic
#20838C #8C2083 #838C20
tetradic
#20838C #5F208C #8C2920 #4D8C20
square
#20838C #5F208C #8C2920 #4D8C20
split-complementary
#20838C #8C204D #8C5F20
monochromatic
#092628 #15545A #20838C #2BB2BE #50CCD7

Accessibility & contrast

On white

4.48
#20838C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#20838C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20838C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20838C#FFFFFF#000000##000000
##20838C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8D
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #20838c;
/* rgb */ color: rgb(32, 131, 140);
/* oklch */ color: oklch(56.0% 0.087 204.2);
Tailwind
colors: {
  custom: {
    50: '#6fa7ad',
    500: '#20838c',
    950: '#000000',
  },
}
SCSS
$custom: #20838c;
$custom-light: #6fa7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20838c",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 140
  },
  "hsl": {
    "h": 185,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.08708,
    "h": 204.2
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#20838C
secondary
#BA574E
accent
#5042E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #20838C

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

Preview Lab → · Contrast checker → · Palette generator →

#20838C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva