#20799C#20799C

#20799C is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.097 H 229.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#20799C
RGBrgb(32, 121, 156)
HSLhsl(197, 66%, 37%)
HSVhsv(197, 79%, 61%)
CMYKcmyk(79.5%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.47, -13.14, -26.12)
CIE-LCHlch(47.47, 29.24, 243.29°)
OKLaboklab(54.15% -0.0626 -0.0735)
OKLCHoklch(54.15% 0.097 229.6)
XYZxyz(13.4313, 16.3805, 33.8999)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20799C #9C4320
analogous
#209C81 #20799C #203B9C
triadic
#20799C #9C2079 #799C20
tetradic
#20799C #81209C #9C4320 #3B9C20
square
#20799C #81209C #9C4320 #3B9C20
split-complementary
#20799C #9C203B #9C8120
monochromatic
#0B2A36 #165269 #20799C #2AA0CF #59B8DD

Accessibility & contrast

On white

4.91
#20799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#20799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20799C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20799C#FFFFFF#000000##FFFFFF
##20799C1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779E
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20799c;
/* rgb */ color: rgb(32, 121, 156);
/* oklch */ color: oklch(54.1% 0.097 229.6);
Tailwind
colors: {
  custom: {
    50: '#709fb9',
    500: '#20799c',
    950: '#000000',
  },
}
SCSS
$custom: #20799c;
$custom-light: #709fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#20799c",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 196.935,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.09654,
    "h": 229.6
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#20799C
secondary
#C17557
accent
#6F3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #20799C

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

Preview Lab → · Contrast checker → · Palette generator →

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