#20409C#20409C

#20409C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.155 H 265.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#20409C
RGBrgb(32, 64, 156)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 79%, 61%)
CMYKcmyk(79.5%, 59%, 0%, 38.8%)
CIE-LABlab(30.34, 23.24, -53.40)
CIE-LCHlch(30.34, 58.24, 293.52°)
OKLaboklab(40.8% -0.0125 -0.1542)
OKLCHoklch(40.8% 0.155 265.3)
XYZxyz(8.4277, 6.3732, 32.2320)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20409C #9C7C20
analogous
#207E9C #20409C #3E209C
triadic
#20409C #9C2040 #409C20
tetradic
#20409C #9C207E #9C7C20 #209C3E
square
#20409C #9C207E #9C7C20 #209C3E
split-complementary
#20409C #9C3E20 #7E9C20
monochromatic
#0B1636 #162B69 #20409C #2A55CF #597BDD

Accessibility & contrast

On white

9.23
#20409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20409C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20409C#FFFFFF#000000##FFFFFF
##20409C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20409c;
/* rgb */ color: rgb(32, 64, 156);
/* oklch */ color: oklch(40.8% 0.155 265.3);
Tailwind
colors: {
  custom: {
    50: '#7074ba',
    500: '#20409c',
    950: '#000000',
  },
}
SCSS
$custom: #20409c;
$custom-light: #7074ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20409c",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 224.516,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.15476,
    "h": 265.3
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20409C

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

Preview Lab → · Contrast checker → · Palette generator →

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