#20517F#20517F

#20517F is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.093 H 249.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#20517F
RGBrgb(32, 81, 127)
HSLhsl(209, 60%, 31%)
HSVhsv(209, 75%, 50%)
CMYKcmyk(74.8%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.40, 0.26, -30.70)
CIE-LCHlch(33.40, 30.71, 270.48°)
OKLaboklab(42.52% -0.0322 -0.0872)
OKLCHoklch(42.52% 0.093 249.8)
XYZxyz(7.3674, 7.7234, 21.1770)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20517F #7F4E20
analogous
#207F7D #20517F #20217F
triadic
#20517F #7F2051 #517F20
tetradic
#20517F #7D207F #7F4E20 #217F20
square
#20517F #7D207F #7F4E20 #217F20
split-complementary
#20517F #7F2021 #7F7D20
monochromatic
#07131D #14324E #20517F #2C70B0 #488FD1

Accessibility & contrast

On white

8.25
#20517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#20517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20517F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20517F#FFFFFF#000000##FFFFFF
##20517F1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#2E4B7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #20517f;
/* rgb */ color: rgb(32, 81, 127);
/* oklch */ color: oklch(42.5% 0.093 249.8);
Tailwind
colors: {
  custom: {
    50: '#6981a4',
    500: '#20517f',
    950: '#000000',
  },
}
SCSS
$custom: #20517f;
$custom-light: #6981a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20517f",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 209.053,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.09299,
    "h": 249.8
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#20517F
secondary
#B27C49
accent
#9145E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #20517F

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

Preview Lab → · Contrast checker → · Palette generator →

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