#20519E#20519E

#20519E is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.136 H 259.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#20519E
RGBrgb(32, 81, 158)
HSLhsl(217, 66%, 37%)
HSVhsv(217, 80%, 62%)
CMYKcmyk(79.7%, 48.7%, 0%, 38%)
CIE-LABlab(35.32, 12.51, -46.54)
CIE-LCHlch(35.32, 48.19, 285.05°)
OKLaboklab(44.64% -0.0252 -0.1337)
OKLCHoklch(44.64% 0.136 259.3)
XYZxyz(9.7074, 8.6594, 33.5009)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20519E #9E6D20
analogous
#20909E #20519E #2E209E
triadic
#20519E #9E2051 #519E20
tetradic
#20519E #9E2090 #9E6D20 #209E2E
square
#20519E #9E2090 #9E6D20 #209E2E
split-complementary
#20519E #9E2E20 #909E20
monochromatic
#0B1D38 #16376B #20519E #2A6BD1 #5B8EDE

Accessibility & contrast

On white

7.69
#20519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20519E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20519E#FFFFFF#000000##FFFFFF
##20519E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20519e;
/* rgb */ color: rgb(32, 81, 158);
/* oklch */ color: oklch(44.6% 0.136 259.3);
Tailwind
colors: {
  custom: {
    50: '#7081bb',
    500: '#20519e',
    950: '#000000',
  },
}
SCSS
$custom: #20519e;
$custom-light: #7081bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20519e",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 216.667,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44636,
    "c": 0.13608,
    "h": 259.3
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#20519E
secondary
#C29958
accent
#A73FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20519E

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

Preview Lab → · Contrast checker → · Palette generator →

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