#20789B#20789B

#20789B is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.096 H 229.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#20789B
RGBrgb(32, 120, 155)
HSLhsl(197, 66%, 37%)
HSVhsv(197, 79%, 61%)
CMYKcmyk(79.4%, 22.6%, 0%, 39.2%)
CIE-LABlab(47.11, -12.93, -26.09)
CIE-LCHlch(47.11, 29.12, 243.63°)
OKLaboklab(53.85% -0.062 -0.0734)
OKLCHoklch(53.85% 0.096 229.8)
XYZxyz(13.2261, 16.1050, 33.4155)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20789B #9B4320
analogous
#209B81 #20789B #203B9B
triadic
#20789B #9B2078 #789B20
tetradic
#20789B #81209B #9B4320 #3B9B20
square
#20789B #81209B #9B4320 #3B9B20
split-complementary
#20789B #9B203B #9B8120
monochromatic
#0B2936 #165168 #20789B #2A9FCE #59B7DD

Accessibility & contrast

On white

4.97
#20789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#20789B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20789B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20789B#FFFFFF#000000##FFFFFF
##20789B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769D
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20789b;
/* rgb */ color: rgb(32, 120, 155);
/* oklch */ color: oklch(53.8% 0.096 229.8);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#20789b',
    950: '#000000',
  },
}
SCSS
$custom: #20789b;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#20789b",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 197.073,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.09609,
    "h": 229.8
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20789B

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

Preview Lab → · Contrast checker → · Palette generator →

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