#20838E#20838E

#20838E is a mid, moderate teal. Relative luminance 0.185; OKLCH L 56.1% C 0.088 H 206.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#20838E
RGBrgb(32, 131, 142)
HSLhsl(186, 63%, 34%)
HSVhsv(186, 77%, 56%)
CMYKcmyk(77.5%, 7.7%, 0%, 44.3%)
CIE-LABlab(50.09, -23.39, -13.90)
CIE-LCHlch(50.09, 27.21, 210.73°)
OKLaboklab(56.07% -0.0785 -0.0387)
OKLCHoklch(56.07% 0.088 206.2)
XYZxyz(13.5923, 18.4910, 28.4387)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20838E #8E2B20
analogous
#208E62 #20838E #204C8E
triadic
#20838E #8E2083 #838E20
tetradic
#20838E #62208E #8E2B20 #4C8E20
square
#20838E #62208E #8E2B20 #4C8E20
split-complementary
#20838E #8E204C #8E6220
monochromatic
#09272A #15555C #20838E #2BB1C0 #51CAD8

Accessibility & contrast

On white

4.47
#20838E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#20838E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20838E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20838E#FFFFFF#000000##000000
##20838E1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#777E8F
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #20838e;
/* rgb */ color: rgb(32, 131, 142);
/* oklch */ color: oklch(56.1% 0.088 206.2);
Tailwind
colors: {
  custom: {
    50: '#6fa7af',
    500: '#20838e',
    950: '#000000',
  },
}
SCSS
$custom: #20838e;
$custom-light: #6fa7af;
$custom-dark: #000000;
JSON
{
  "hex": "#20838e",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 142
  },
  "hsl": {
    "h": 186,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.08753,
    "h": 206.2
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#20838E
secondary
#BB5A4F
accent
#5242E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #20838E

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

Preview Lab → · Contrast checker → · Palette generator →

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