#20518D#20518D

#20518D is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.112 H 255.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#20518D
RGBrgb(32, 81, 141)
HSLhsl(213, 63%, 34%)
HSVhsv(213, 77%, 55%)
CMYKcmyk(77.3%, 42.6%, 0%, 44.7%)
CIE-LABlab(34.22, 5.76, -38.00)
CIE-LCHlch(34.22, 38.44, 278.61°)
OKLaboklab(43.43% -0.0285 -0.1086)
OKLCHoklch(43.43% 0.112 255.3)
XYZxyz(8.3440, 8.1141, 26.3206)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20518D #8D5C20
analogous
#20888D #20518D #26208D
triadic
#20518D #8D2051 #518D20
tetradic
#20518D #8D2088 #8D5C20 #208D26
square
#20518D #8D2088 #8D5C20 #208D26
split-complementary
#20518D #8D2620 #888D20
monochromatic
#091829 #15345B #20518D #2B6EBF #508DD7

Accessibility & contrast

On white

8.01
#20518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#20518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20518D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20518D#FFFFFF#000000##FFFFFF
##20518D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20518d;
/* rgb */ color: rgb(32, 81, 141);
/* oklch */ color: oklch(43.4% 0.112 255.3);
Tailwind
colors: {
  custom: {
    50: '#6c81af',
    500: '#20518d',
    950: '#000000',
  },
}
SCSS
$custom: #20518d;
$custom-light: #6c81af;
$custom-dark: #000000;
JSON
{
  "hex": "#20518d",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 213.028,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.11231,
    "h": 255.3
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#20518D
secondary
#BA8A4E
accent
#9C42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20518D

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

Preview Lab → · Contrast checker → · Palette generator →

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