#20519B#20519B

#20519B is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.132 H 258.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#20519B
RGBrgb(32, 81, 155)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 79%, 61%)
CMYKcmyk(79.4%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.12, 11.32, -45.06)
CIE-LCHlch(35.12, 46.46, 284.10°)
OKLaboklab(44.42% -0.0257 -0.1294)
OKLCHoklch(44.42% 0.132 258.8)
XYZxyz(9.4523, 8.5574, 32.1576)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20519B #9B6A20
analogous
#208F9B #20519B #2D209B
triadic
#20519B #9B2051 #519B20
tetradic
#20519B #9B208F #9B6A20 #209B2D
square
#20519B #9B208F #9B6A20 #209B2D
split-complementary
#20519B #9B2D20 #8F9B20
monochromatic
#0B1C36 #163668 #20519B #2A6CCE #598DDD

Accessibility & contrast

On white

7.74
#20519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#20519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20519B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20519B#FFFFFF#000000##FFFFFF
##20519B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599E
Deuteranopia (green-blind)
#054D9A
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20519b;
/* rgb */ color: rgb(32, 81, 155);
/* oklch */ color: oklch(44.4% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#6f81b9',
    500: '#20519b',
    950: '#000000',
  },
}
SCSS
$custom: #20519b;
$custom-light: #6f81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20519b",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 216.098,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44415,
    "c": 0.1319,
    "h": 258.8
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#20519B
secondary
#C19656
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #20519B

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

Preview Lab → · Contrast checker → · Palette generator →

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