#20799B#20799B

#20799B is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.096 H 228.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#20799B
RGBrgb(32, 121, 155)
HSLhsl(197, 66%, 37%)
HSVhsv(197, 79%, 61%)
CMYKcmyk(79.4%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.43, -13.50, -25.60)
CIE-LCHlch(47.43, 28.94, 242.20°)
OKLaboklab(54.1% -0.063 -0.072)
OKLCHoklch(54.1% 0.096 228.8)
XYZxyz(13.3470, 16.3468, 33.4558)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20799B #9B4220
analogous
#209B80 #20799B #203C9B
triadic
#20799B #9B2079 #799B20
tetradic
#20799B #80209B #9B4220 #3C9B20
square
#20799B #80209B #9B4220 #3C9B20
split-complementary
#20799B #9B203C #9B8020
monochromatic
#0B2A36 #165168 #20799B #2AA1CE #59B8DD

Accessibility & contrast

On white

4.92
#20799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#20799B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20799B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20799B#FFFFFF#000000##FFFFFF
##20799B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20799b;
/* rgb */ color: rgb(32, 121, 155);
/* oklch */ color: oklch(54.1% 0.096 228.8);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#20799b',
    950: '#000000',
  },
}
SCSS
$custom: #20799b;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#20799b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 196.585,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.09566,
    "h": 228.8
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#20799B
secondary
#C17456
accent
#6E3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #20799B

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

Preview Lab → · Contrast checker → · Palette generator →

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