#20798D#20798D

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

Color values

HEX#20798D
RGBrgb(32, 121, 141)
HSLhsl(191, 63%, 34%)
HSVhsv(191, 77%, 55%)
CMYKcmyk(77.3%, 14.2%, 0%, 44.7%)
CIE-LABlab(46.85, -18.41, -18.25)
CIE-LCHlch(46.85, 25.92, 224.74°)
OKLaboklab(53.44% -0.0686 -0.0509)
OKLCHoklch(53.44% 0.085 216.6)
XYZxyz(12.2387, 15.9034, 27.6188)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20798D #8D3420
analogous
#208D6B #20798D #20438D
triadic
#20798D #8D2079 #798D20
tetradic
#20798D #6B208D #8D3420 #438D20
square
#20798D #6B208D #8D3420 #438D20
split-complementary
#20798D #8D2043 #8D6B20
monochromatic
#092329 #154E5B #20798D #2BA4BF #50BED7

Accessibility & contrast

On white

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

On black

4.18
#20798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20798D#FFFFFF#000000##FFFFFF
##20798D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758E
Deuteranopia (green-blind)
#5D6A8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20798d;
/* rgb */ color: rgb(32, 121, 141);
/* oklch */ color: oklch(53.4% 0.085 216.6);
Tailwind
colors: {
  custom: {
    50: '#6ea0ae',
    500: '#20798d',
    950: '#000000',
  },
}
SCSS
$custom: #20798d;
$custom-light: #6ea0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20798d",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 191.009,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.08546,
    "h": 216.6
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#20798D
secondary
#BA624E
accent
#6042E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20798D

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

Preview Lab → · Contrast checker → · Palette generator →

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