#20799D#20799D

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

Color values

HEX#20799D
RGBrgb(32, 121, 157)
HSLhsl(197, 66%, 37%)
HSVhsv(197, 80%, 62%)
CMYKcmyk(79.6%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.51, -12.78, -26.64)
CIE-LCHlch(47.51, 29.55, 244.37°)
OKLaboklab(54.2% -0.0622 -0.075)
OKLCHoklch(54.2% 0.097 230.3)
XYZxyz(13.5164, 16.4145, 34.3477)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20799D #9D4420
analogous
#209D83 #20799D #203B9D
triadic
#20799D #9D2079 #799D20
tetradic
#20799D #83209D #9D4420 #3B9D20
square
#20799D #83209D #9D4420 #3B9D20
split-complementary
#20799D #9D203B #9D8320
monochromatic
#0B2B37 #16526A #20799D #2AA0D0 #5AB8DD

Accessibility & contrast

On white

4.90
#20799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20799D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20799D#FFFFFF#000000##FFFFFF
##20799D1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20799d;
/* rgb */ color: rgb(32, 121, 157);
/* oklch */ color: oklch(54.2% 0.097 230.3);
Tailwind
colors: {
  custom: {
    50: '#709fba',
    500: '#20799d',
    950: '#000000',
  },
}
SCSS
$custom: #20799d;
$custom-light: #709fba;
$custom-dark: #000000;
JSON
{
  "hex": "#20799d",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 197.28,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.09745,
    "h": 230.3
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#20799D
secondary
#C17657
accent
#703FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #20799D

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

Preview Lab → · Contrast checker → · Palette generator →

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