#20519C#20519C

#20519C is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.133 H 259.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#20519C
RGBrgb(32, 81, 156)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 79%, 61%)
CMYKcmyk(79.5%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.18, 11.72, -45.55)
CIE-LCHlch(35.18, 47.03, 284.42°)
OKLaboklab(44.49% -0.0255 -0.1308)
OKLCHoklch(44.49% 0.133 259)
XYZxyz(9.5367, 8.5911, 32.6017)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20519C #9C6B20
analogous
#208F9C #20519C #2D209C
triadic
#20519C #9C2051 #519C20
tetradic
#20519C #9C208F #9C6B20 #209C2D
square
#20519C #9C208F #9C6B20 #209C2D
split-complementary
#20519C #9C2D20 #8F9C20
monochromatic
#0B1C36 #163769 #20519C #2A6BCF #598DDD

Accessibility & contrast

On white

7.73
#20519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#20519C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20519C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20519C#FFFFFF#000000##FFFFFF
##20519C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27599F
Deuteranopia (green-blind)
#014D9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20519c;
/* rgb */ color: rgb(32, 81, 156);
/* oklch */ color: oklch(44.5% 0.133 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f81ba',
    500: '#20519c',
    950: '#000000',
  },
}
SCSS
$custom: #20519c;
$custom-light: #6f81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20519c",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 216.29,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.1333,
    "h": 259
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#20519C
secondary
#C19757
accent
#A63FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #20519C

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

Preview Lab → · Contrast checker → · Palette generator →

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