#20517D#20517D

#20517D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.090 H 248.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#20517D
RGBrgb(32, 81, 125)
HSLhsl(208, 59%, 31%)
HSVhsv(208, 74%, 49%)
CMYKcmyk(74.4%, 35.2%, 0%, 51%)
CIE-LABlab(33.29, -0.52, -29.64)
CIE-LCHlch(33.29, 29.65, 269.00°)
OKLaboklab(42.4% -0.0328 -0.0841)
OKLCHoklch(42.4% 0.09 248.7)
XYZxyz(7.2384, 7.6718, 20.4974)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20517D #7D4C20
analogous
#207D7A #20517D #20227D
triadic
#20517D #7D2051 #517D20
tetradic
#20517D #7A207D #7D4C20 #227D20
square
#20517D #7A207D #7D4C20 #227D20
split-complementary
#20517D #7D2022 #7D7A20
monochromatic
#07121C #14314C #20517D #2C71AE #478FD0

Accessibility & contrast

On white

8.29
#20517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#20517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20517D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20517D#FFFFFF#000000##FFFFFF
##20517D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #20517d;
/* rgb */ color: rgb(32, 81, 125);
/* oklch */ color: oklch(42.4% 0.090 248.7);
Tailwind
colors: {
  custom: {
    50: '#6881a3',
    500: '#20517d',
    950: '#000000',
  },
}
SCSS
$custom: #20517d;
$custom-light: #6881a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20517d",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 208.387,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.0903,
    "h": 248.7
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#20517D
secondary
#B07A49
accent
#9045E2
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #20517D

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

Preview Lab → · Contrast checker → · Palette generator →

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