#20798A#20798A

#20798A is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.084 H 213.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#20798A
RGBrgb(32, 121, 138)
HSLhsl(190, 62%, 33%)
HSVhsv(190, 77%, 54%)
CMYKcmyk(76.8%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.73, -19.43, -16.65)
CIE-LCHlch(46.73, 25.59, 220.59°)
OKLaboklab(53.31% -0.0699 -0.0464)
OKLCHoklch(53.31% 0.084 213.6)
XYZxyz(12.0185, 15.8154, 26.4591)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20798A #8A3120
analogous
#208A66 #20798A #20448A
triadic
#20798A #8A2079 #798A20
tetradic
#20798A #66208A #8A3120 #448A20
square
#20798A #66208A #8A3120 #448A20
split-complementary
#20798A #8A2044 #8A6620
monochromatic
#092227 #144D58 #20798A #2CA5BC #4EC0D6

Accessibility & contrast

On white

5.04
#20798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#20798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20798A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20798A#FFFFFF#000000##FFFFFF
##20798A1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20798a;
/* rgb */ color: rgb(32, 121, 138);
/* oklch */ color: oklch(53.3% 0.084 213.6);
Tailwind
colors: {
  custom: {
    50: '#6da0ac',
    500: '#20798a',
    950: '#000000',
  },
}
SCSS
$custom: #20798a;
$custom-light: #6da0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#20798a",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 189.623,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.0839,
    "h": 213.6
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#20798A
secondary
#B95E4D
accent
#5D42E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20798A

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

Preview Lab → · Contrast checker → · Palette generator →

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