#20509A#20509A

#20509A is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.132 H 259.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#20509A
RGBrgb(32, 80, 154)
HSLhsl(216, 66%, 36%)
HSVhsv(216, 79%, 60%)
CMYKcmyk(79.2%, 48.1%, 0%, 39.6%)
CIE-LABlab(34.75, 11.59, -45.04)
CIE-LCHlch(34.75, 46.50, 284.43°)
OKLaboklab(44.11% -0.025 -0.1293)
OKLCHoklch(44.11% 0.132 259.1)
XYZxyz(9.2949, 8.3764, 31.6925)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20509A #9A6A20
analogous
#208D9A #20509A #2D209A
triadic
#20509A #9A2050 #509A20
tetradic
#20509A #9A208D #9A6A20 #209A2D
square
#20509A #9A208D #9A6A20 #209A2D
split-complementary
#20509A #9A2D20 #8D9A20
monochromatic
#0B1B35 #153667 #20509A #2B6ACD #588CDC

Accessibility & contrast

On white

7.85
#20509A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#20509A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20509A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20509A#FFFFFF#000000##FFFFFF
##20509A1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#024D99
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #20509a;
/* rgb */ color: rgb(32, 80, 154);
/* oklch */ color: oklch(44.1% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#6f80b8',
    500: '#20509a',
    950: '#000000',
  },
}
SCSS
$custom: #20509a;
$custom-light: #6f80b8;
$custom-dark: #000000;
JSON
{
  "hex": "#20509a",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 216.393,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.13174,
    "h": 259.1
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#20509A
secondary
#C09656
accent
#A63FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #20509A

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

Preview Lab → · Contrast checker → · Palette generator →

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