#20518E#20518E

#20518E is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.5% C 0.114 H 255.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#20518E
RGBrgb(32, 81, 142)
HSLhsl(213, 63%, 34%)
HSVhsv(213, 77%, 56%)
CMYKcmyk(77.5%, 43%, 0%, 44.3%)
CIE-LABlab(34.28, 6.15, -38.51)
CIE-LCHlch(34.28, 39.00, 279.08°)
OKLaboklab(43.5% -0.0283 -0.1101)
OKLCHoklch(43.5% 0.114 255.6)
XYZxyz(8.4188, 8.1440, 26.7142)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20518E #8E5D20
analogous
#20888E #20518E #26208E
triadic
#20518E #8E2051 #518E20
tetradic
#20518E #8E2088 #8E5D20 #208E26
square
#20518E #8E2088 #8E5D20 #208E26
split-complementary
#20518E #8E2620 #888E20
monochromatic
#09182A #15355C #20518E #2B6DC0 #518DD8

Accessibility & contrast

On white

7.99
#20518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#20518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20518E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20518E#FFFFFF#000000##FFFFFF
##20518E1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#204C8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #20518e;
/* rgb */ color: rgb(32, 81, 142);
/* oklch */ color: oklch(43.5% 0.114 255.6);
Tailwind
colors: {
  custom: {
    50: '#6c81af',
    500: '#20518e',
    950: '#000000',
  },
}
SCSS
$custom: #20518e;
$custom-light: #6c81af;
$custom-dark: #000000;
JSON
{
  "hex": "#20518e",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 213.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.11372,
    "h": 255.6
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#20518E
secondary
#BB8B4F
accent
#9D42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20518E

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

Preview Lab → · Contrast checker → · Palette generator →

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