#20409D#20409D

#20409D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.156 H 265.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#20409D
RGBrgb(32, 64, 157)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 80%, 62%)
CMYKcmyk(79.6%, 59.2%, 0%, 38.4%)
CIE-LABlab(30.42, 23.63, -53.88)
CIE-LCHlch(30.42, 58.83, 293.68°)
OKLaboklab(40.89% -0.0125 -0.1556)
OKLCHoklch(40.89% 0.156 265.4)
XYZxyz(8.5127, 6.4072, 32.6798)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20409D #9D7D20
analogous
#207F9D #20409D #3F209D
triadic
#20409D #9D2040 #409D20
tetradic
#20409D #9D207F #9D7D20 #209D3F
square
#20409D #9D207F #9D7D20 #209D3F
split-complementary
#20409D #9D3F20 #7F9D20
monochromatic
#0B1737 #162B6A #20409D #2A55D0 #5A7CDD

Accessibility & contrast

On white

9.20
#20409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#20409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20409D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20409D#FFFFFF#000000##FFFFFF
##20409D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20409d;
/* rgb */ color: rgb(32, 64, 157);
/* oklch */ color: oklch(40.9% 0.156 265.4);
Tailwind
colors: {
  custom: {
    50: '#7074bb',
    500: '#20409d',
    950: '#000000',
  },
}
SCSS
$custom: #20409d;
$custom-light: #7074bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20409d",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 224.64,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.15614,
    "h": 265.4
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20409D

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

Preview Lab → · Contrast checker → · Palette generator →

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