#20409B#20409B

#20409B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.153 H 265.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#20409B
RGBrgb(32, 64, 155)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(79.4%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.25, 22.85, -52.93)
CIE-LCHlch(30.25, 57.65, 293.35°)
OKLaboklab(40.72% -0.0126 -0.1529)
OKLCHoklch(40.72% 0.153 265.3)
XYZxyz(8.3434, 6.3395, 31.7879)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20409B #9B7B20
analogous
#207E9B #20409B #3E209B
triadic
#20409B #9B2040 #409B20
tetradic
#20409B #9B207E #9B7B20 #209B3E
square
#20409B #9B207E #9B7B20 #209B3E
split-complementary
#20409B #9B3E20 #7E9B20
monochromatic
#0B1636 #162B68 #20409B #2A55CE #597BDD

Accessibility & contrast

On white

9.26
#20409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#20409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20409B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20409B#FFFFFF#000000##FFFFFF
##20409B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20409b;
/* rgb */ color: rgb(32, 64, 155);
/* oklch */ color: oklch(40.7% 0.153 265.3);
Tailwind
colors: {
  custom: {
    50: '#7074b9',
    500: '#20409b',
    950: '#000000',
  },
}
SCSS
$custom: #20409b;
$custom-light: #7074b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20409b",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 224.39,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.15338,
    "h": 265.3
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#20409B
secondary
#C1A556
accent
#BD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20409B

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

Preview Lab → · Contrast checker → · Palette generator →

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