#20517A#20517A

#20517A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.086 H 247.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#20517A
RGBrgb(32, 81, 122)
HSLhsl(207, 58%, 30%)
HSVhsv(207, 74%, 48%)
CMYKcmyk(73.8%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.13, -1.68, -28.04)
CIE-LCHlch(33.13, 28.09, 266.57°)
OKLaboklab(42.22% -0.0337 -0.0795)
OKLCHoklch(42.22% 0.086 247)
XYZxyz(7.0496, 7.5963, 19.5033)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20517A #7A4920
analogous
#207A76 #20517A #20247A
triadic
#20517A #7A2051 #517A20
tetradic
#20517A #76207A #7A4920 #247A20
square
#20517A #76207A #7A4920 #247A20
split-complementary
#20517A #7A2024 #7A7620
monochromatic
#071119 #13314A #20517A #2D71AA #4690CE

Accessibility & contrast

On white

8.34
#20517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#20517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20517A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20517A#FFFFFF#000000##FFFFFF
##20517A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #20517a;
/* rgb */ color: rgb(32, 81, 122);
/* oklch */ color: oklch(42.2% 0.086 247.0);
Tailwind
colors: {
  custom: {
    50: '#6881a0',
    500: '#20517a',
    950: '#000000',
  },
}
SCSS
$custom: #20517a;
$custom-light: #6881a0;
$custom-dark: #000000;
JSON
{
  "hex": "#20517a",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 207.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.08631,
    "h": 247
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#20517A
secondary
#AD7649
accent
#8D46E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #20517A

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

Preview Lab → · Contrast checker → · Palette generator →

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