#20519F#20519F

#20519F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.137 H 259.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#20519F
RGBrgb(32, 81, 159)
HSLhsl(217, 66%, 37%)
HSVhsv(217, 80%, 62%)
CMYKcmyk(79.9%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.39, 12.91, -47.03)
CIE-LCHlch(35.39, 48.77, 285.35°)
OKLaboklab(44.71% -0.025 -0.1352)
OKLCHoklch(44.71% 0.137 259.5)
XYZxyz(9.7938, 8.6940, 33.9561)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20519F #9F6E20
analogous
#20919F #20519F #2E209F
triadic
#20519F #9F2051 #519F20
tetradic
#20519F #9F2091 #9F6E20 #209F2E
square
#20519F #9F2091 #9F6E20 #209F2E
split-complementary
#20519F #9F2E20 #919F20
monochromatic
#0B1D39 #16376C #20519F #2A6BD2 #5B8EDE

Accessibility & contrast

On white

7.67
#20519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#20519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20519F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20519F#FFFFFF#000000##FFFFFF
##20519F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20519f;
/* rgb */ color: rgb(32, 81, 159);
/* oklch */ color: oklch(44.7% 0.137 259.5);
Tailwind
colors: {
  custom: {
    50: '#7081bc',
    500: '#20519f',
    950: '#000000',
  },
}
SCSS
$custom: #20519f;
$custom-light: #7081bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20519f",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 216.85,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.13748,
    "h": 259.5
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#20519F
secondary
#C29959
accent
#A73EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20519F

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

Preview Lab → · Contrast checker → · Palette generator →

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