#20517E#20517E

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

Color values

HEX#20517E
RGBrgb(32, 81, 126)
HSLhsl(209, 59%, 31%)
HSVhsv(209, 75%, 49%)
CMYKcmyk(74.6%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.34, -0.13, -30.17)
CIE-LCHlch(33.34, 30.17, 269.75°)
OKLaboklab(42.46% -0.0325 -0.0857)
OKLCHoklch(42.46% 0.092 249.2)
XYZxyz(7.3026, 7.6975, 20.8355)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20517E #7E4D20
analogous
#207E7C #20517E #20227E
triadic
#20517E #7E2051 #517E20
tetradic
#20517E #7C207E #7E4D20 #227E20
square
#20517E #7C207E #7E4D20 #227E20
split-complementary
#20517E #7E2022 #7E7C20
monochromatic
#07121C #14324D #20517E #2C70AF #488FD0

Accessibility & contrast

On white

8.27
#20517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20517E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20517E#FFFFFF#000000##FFFFFF
##20517E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5380
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #20517e;
/* rgb */ color: rgb(32, 81, 126);
/* oklch */ color: oklch(42.5% 0.092 249.2);
Tailwind
colors: {
  custom: {
    50: '#6981a3',
    500: '#20517e',
    950: '#000000',
  },
}
SCSS
$custom: #20517e;
$custom-light: #6981a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20517e",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 208.723,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42462,
    "c": 0.09164,
    "h": 249.2
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20517E

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

Preview Lab → · Contrast checker → · Palette generator →

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