#20798E#20798E

#20798E is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.086 H 217.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#20798E
RGBrgb(32, 121, 142)
HSLhsl(191, 63%, 34%)
HSVhsv(191, 77%, 56%)
CMYKcmyk(77.5%, 14.8%, 0%, 44.3%)
CIE-LABlab(46.89, -18.07, -18.78)
CIE-LCHlch(46.89, 26.06, 226.10°)
OKLaboklab(53.49% -0.0682 -0.0524)
OKLCHoklch(53.49% 0.086 217.6)
XYZxyz(12.3135, 15.9333, 28.0124)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20798E #8E3520
analogous
#208E6C #20798E #20428E
triadic
#20798E #8E2079 #798E20
tetradic
#20798E #6C208E #8E3520 #428E20
square
#20798E #6C208E #8E3520 #428E20
split-complementary
#20798E #8E2042 #8E6C20
monochromatic
#09242A #154E5C #20798E #2BA4C0 #51BED8

Accessibility & contrast

On white

5.02
#20798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#20798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20798E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20798E#FFFFFF#000000##FFFFFF
##20798E1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B758F
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20798e;
/* rgb */ color: rgb(32, 121, 142);
/* oklch */ color: oklch(53.5% 0.086 217.6);
Tailwind
colors: {
  custom: {
    50: '#6ea0af',
    500: '#20798e',
    950: '#000000',
  },
}
SCSS
$custom: #20798e;
$custom-light: #6ea0af;
$custom-dark: #000000;
JSON
{
  "hex": "#20798e",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 191.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.08603,
    "h": 217.6
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#20798E
secondary
#BB644F
accent
#6142E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20798E

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

Preview Lab → · Contrast checker → · Palette generator →

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