#20409F#20409F

#20409F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.159 H 265.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#20409F
RGBrgb(32, 64, 159)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 80%, 62%)
CMYKcmyk(79.9%, 59.7%, 0%, 37.6%)
CIE-LABlab(30.58, 24.42, -54.82)
CIE-LCHlch(30.58, 60.01, 294.01°)
OKLaboklab(41.07% -0.0124 -0.1584)
OKLCHoklch(41.07% 0.159 265.5)
XYZxyz(8.6849, 6.4761, 33.5864)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20409F #9F7F20
analogous
#207F9F #20409F #40209F
triadic
#20409F #9F2040 #409F20
tetradic
#20409F #9F207F #9F7F20 #209F40
square
#20409F #9F207F #9F7F20 #209F40
split-complementary
#20409F #9F4020 #7F9F20
monochromatic
#0B1739 #162B6C #20409F #2A55D2 #5B7CDE

Accessibility & contrast

On white

9.15
#20409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#20409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20409F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20409F#FFFFFF#000000##FFFFFF
##20409F1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20409f;
/* rgb */ color: rgb(32, 64, 159);
/* oklch */ color: oklch(41.1% 0.159 265.5);
Tailwind
colors: {
  custom: {
    50: '#7174bc',
    500: '#20409f',
    950: '#000000',
  },
}
SCSS
$custom: #20409f;
$custom-light: #7174bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20409f",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 224.882,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41065,
    "c": 0.15889,
    "h": 265.5
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#20409F
secondary
#C2A859
accent
#BE3EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20409F

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

Preview Lab → · Contrast checker → · Palette generator →

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