#20409E#20409E

#20409E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.158 H 265.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#20409E
RGBrgb(32, 64, 158)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 80%, 62%)
CMYKcmyk(79.7%, 59.5%, 0%, 38%)
CIE-LABlab(30.50, 24.02, -54.35)
CIE-LCHlch(30.50, 59.42, 293.85°)
OKLaboklab(40.98% -0.0125 -0.157)
OKLCHoklch(40.98% 0.158 265.5)
XYZxyz(8.5984, 6.4415, 33.1313)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20409E #9E7E20
analogous
#207F9E #20409E #3F209E
triadic
#20409E #9E2040 #409E20
tetradic
#20409E #9E207F #9E7E20 #209E3F
square
#20409E #9E207F #9E7E20 #209E3F
split-complementary
#20409E #9E3F20 #7F9E20
monochromatic
#0B1738 #162B6B #20409E #2A55D1 #5B7CDE

Accessibility & contrast

On white

9.18
#20409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#20409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20409E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20409E#FFFFFF#000000##FFFFFF
##20409E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20409e;
/* rgb */ color: rgb(32, 64, 158);
/* oklch */ color: oklch(41.0% 0.158 265.5);
Tailwind
colors: {
  custom: {
    50: '#7174bb',
    500: '#20409e',
    950: '#000000',
  },
}
SCSS
$custom: #20409e;
$custom-light: #7174bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20409e",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 224.762,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40977,
    "c": 0.15751,
    "h": 265.5
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#20409E
secondary
#C2A758
accent
#BE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20409E

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

Preview Lab → · Contrast checker → · Palette generator →

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