#20509D#20509D

#20509D is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.136 H 259.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#20509D
RGBrgb(32, 80, 157)
HSLhsl(217, 66%, 37%)
HSVhsv(217, 80%, 62%)
CMYKcmyk(79.6%, 49%, 0%, 38.4%)
CIE-LABlab(34.96, 12.78, -46.52)
CIE-LCHlch(34.96, 48.24, 285.36°)
OKLaboklab(44.34% -0.0245 -0.1337)
OKLCHoklch(44.34% 0.136 259.6)
XYZxyz(9.5479, 8.4776, 33.0249)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20509D #9D6D20
analogous
#208F9D #20509D #2E209D
triadic
#20509D #9D2050 #509D20
tetradic
#20509D #9D208F #9D6D20 #209D2E
square
#20509D #9D208F #9D6D20 #209D2E
split-complementary
#20509D #9D2E20 #8F9D20
monochromatic
#0B1C37 #16366A #20509D #2A6AD0 #5A8CDD

Accessibility & contrast

On white

7.79
#20509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#20509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20509D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20509D#FFFFFF#000000##FFFFFF
##20509D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #20509d;
/* rgb */ color: rgb(32, 80, 157);
/* oklch */ color: oklch(44.3% 0.136 259.6);
Tailwind
colors: {
  custom: {
    50: '#7080ba',
    500: '#20509d',
    950: '#000000',
  },
}
SCSS
$custom: #20509d;
$custom-light: #7080ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20509d",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 216.96,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44336,
    "c": 0.13593,
    "h": 259.6
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#20509D
secondary
#C19957
accent
#A83FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20509D

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

Preview Lab → · Contrast checker → · Palette generator →

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