#20517C#20517C

#20517C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.089 H 248.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#20517C
RGBrgb(32, 81, 124)
HSLhsl(208, 59%, 31%)
HSVhsv(208, 74%, 49%)
CMYKcmyk(74.2%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.24, -0.91, -29.11)
CIE-LCHlch(33.24, 29.12, 268.21°)
OKLaboklab(42.34% -0.0331 -0.0826)
OKLCHoklch(42.34% 0.089 248.2)
XYZxyz(7.1748, 7.6464, 20.1626)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20517C #7C4B20
analogous
#207C79 #20517C #20237C
triadic
#20517C #7C2051 #517C20
tetradic
#20517C #79207C #7C4B20 #237C20
square
#20517C #79207C #7C4B20 #237C20
split-complementary
#20517C #7C2023 #7C7920
monochromatic
#07111B #13314B #20517C #2D71AD #4790CF

Accessibility & contrast

On white

8.30
#20517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20517C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20517C#FFFFFF#000000##FFFFFF
##20517C1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #20517c;
/* rgb */ color: rgb(32, 81, 124);
/* oklch */ color: oklch(42.3% 0.089 248.2);
Tailwind
colors: {
  custom: {
    50: '#6881a2',
    500: '#20517c',
    950: '#000000',
  },
}
SCSS
$custom: #20517c;
$custom-light: #6881a2;
$custom-dark: #000000;
JSON
{
  "hex": "#20517c",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 208.043,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.08896,
    "h": 248.2
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#20517C
secondary
#AF7949
accent
#8F46E2
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #20517C

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

Preview Lab → · Contrast checker → · Palette generator →

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