#20579F#20579F

#20579F is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.1% C 0.130 H 256.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#20579F
RGBrgb(32, 87, 159)
HSLhsl(214, 66%, 37%)
HSVhsv(214, 80%, 62%)
CMYKcmyk(79.9%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.16, 8.92, -44.18)
CIE-LCHlch(37.16, 45.07, 281.42°)
OKLaboklab(46.08% -0.03 -0.1267)
OKLCHoklch(46.08% 0.13 256.7)
XYZxyz(10.2596, 9.6255, 34.1113)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20579F #9F6820
analogous
#20969F #20579F #29209F
triadic
#20579F #9F2057 #579F20
tetradic
#20579F #9F2096 #9F6820 #209F29
square
#20579F #9F2096 #9F6820 #209F29
split-complementary
#20579F #9F2920 #969F20
monochromatic
#0B1F39 #163B6C #20579F #2A73D2 #5B94DE

Accessibility & contrast

On white

7.18
#20579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#20579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20579F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20579F#FFFFFF#000000##FFFFFF
##20579F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#17529E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20579f;
/* rgb */ color: rgb(32, 87, 159);
/* oklch */ color: oklch(46.1% 0.130 256.7);
Tailwind
colors: {
  custom: {
    50: '#7085bc',
    500: '#20579f',
    950: '#000000',
  },
}
SCSS
$custom: #20579f;
$custom-light: #7085bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20579f",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 214.016,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.13018,
    "h": 256.7
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#20579F
secondary
#C29459
accent
#9F3EE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #20579F

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

Preview Lab → · Contrast checker → · Palette generator →

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