#20789F#20789F

#20789F is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.100 H 232.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#20789F
RGBrgb(32, 120, 159)
HSLhsl(198, 66%, 37%)
HSVhsv(198, 80%, 62%)
CMYKcmyk(79.9%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.29, -11.49, -28.16)
CIE-LCHlch(47.29, 30.42, 247.80°)
OKLaboklab(54.05% -0.0605 -0.0794)
OKLCHoklch(54.05% 0.1 232.7)
XYZxyz(13.5676, 16.2416, 35.2140)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20789F #9F4720
analogous
#209F86 #20789F #20399F
triadic
#20789F #9F2078 #789F20
tetradic
#20789F #86209F #9F4720 #399F20
square
#20789F #86209F #9F4720 #399F20
split-complementary
#20789F #9F2039 #9F8620
monochromatic
#0B2B39 #16526C #20789F #2A9ED2 #5BB6DE

Accessibility & contrast

On white

4.94
#20789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#20789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20789F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20789F#FFFFFF#000000##FFFFFF
##20789F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#546B9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20789f;
/* rgb */ color: rgb(32, 120, 159);
/* oklch */ color: oklch(54.0% 0.100 232.7);
Tailwind
colors: {
  custom: {
    50: '#719fbb',
    500: '#20789f',
    950: '#000000',
  },
}
SCSS
$custom: #20789f;
$custom-light: #719fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#20789f",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 198.425,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.09982,
    "h": 232.7
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#20789F
secondary
#C27959
accent
#733EE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #20789F

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

Preview Lab → · Contrast checker → · Palette generator →

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