#20519D#20519D

#20519D is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.135 H 259.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#20519D
RGBrgb(32, 81, 157)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(79.6%, 48.4%, 0%, 38.4%)
CIE-LABlab(35.25, 12.11, -46.04)
CIE-LCHlch(35.25, 47.61, 284.74°)
OKLaboklab(44.56% -0.0253 -0.1323)
OKLCHoklch(44.56% 0.135 259.2)
XYZxyz(9.6217, 8.6251, 33.0495)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20519D #9D6C20
analogous
#20909D #20519D #2D209D
triadic
#20519D #9D2051 #519D20
tetradic
#20519D #9D2090 #9D6C20 #209D2D
square
#20519D #9D2090 #9D6C20 #209D2D
split-complementary
#20519D #9D2D20 #909D20
monochromatic
#0B1D37 #16376A #20519D #2A6BD0 #5A8EDD

Accessibility & contrast

On white

7.71
#20519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#20519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20519D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20519D#FFFFFF#000000##FFFFFF
##20519D1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20519d;
/* rgb */ color: rgb(32, 81, 157);
/* oklch */ color: oklch(44.6% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#7081ba',
    500: '#20519d',
    950: '#000000',
  },
}
SCSS
$custom: #20519d;
$custom-light: #7081ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20519d",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 216.48,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.13469,
    "h": 259.2
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#20519D
secondary
#C19857
accent
#A63FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20519D

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

Preview Lab → · Contrast checker → · Palette generator →

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