#20409A#20409A

#20409A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.152 H 265.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#20409A
RGBrgb(32, 64, 154)
HSLhsl(224, 66%, 36%)
HSVhsv(224, 79%, 60%)
CMYKcmyk(79.2%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.17, 22.45, -52.46)
CIE-LCHlch(30.17, 57.06, 293.17°)
OKLaboklab(40.63% -0.0126 -0.1515)
OKLCHoklch(40.63% 0.152 265.2)
XYZxyz(8.2597, 6.3060, 31.3474)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20409A #9A7A20
analogous
#207D9A #20409A #3D209A
triadic
#20409A #9A2040 #409A20
tetradic
#20409A #9A207D #9A7A20 #209A3D
square
#20409A #9A207D #9A7A20 #209A3D
split-complementary
#20409A #9A3D20 #7D9A20
monochromatic
#0B1635 #152B67 #20409A #2B55CD #587BDC

Accessibility & contrast

On white

9.29
#20409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#20409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20409A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20409A#FFFFFF#000000##FFFFFF
##20409A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20409a;
/* rgb */ color: rgb(32, 64, 154);
/* oklch */ color: oklch(40.6% 0.152 265.2);
Tailwind
colors: {
  custom: {
    50: '#7074b9',
    500: '#20409a',
    950: '#000000',
  },
}
SCSS
$custom: #20409a;
$custom-light: #7074b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20409a",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 224.262,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40629,
    "c": 0.152,
    "h": 265.2
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#20409A
secondary
#C0A456
accent
#BC3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #20409A

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

Preview Lab → · Contrast checker → · Palette generator →

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