#20419B#20419B

#20419B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.152 H 265.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#20419B
RGBrgb(32, 65, 155)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(79.4%, 58.1%, 0%, 39.2%)
CIE-LABlab(30.53, 22.16, -52.48)
CIE-LCHlch(30.53, 56.97, 292.90°)
OKLaboklab(40.92% -0.0133 -0.1515)
OKLCHoklch(40.92% 0.152 265)
XYZxyz(8.4003, 6.4533, 31.8069)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20419B #9B7A20
analogous
#207F9B #20419B #3C209B
triadic
#20419B #9B2041 #419B20
tetradic
#20419B #9B207F #9B7A20 #209B3C
square
#20419B #9B207F #9B7A20 #209B3C
split-complementary
#20419B #9B3C20 #7F9B20
monochromatic
#0B1636 #162C68 #20419B #2A56CE #597CDD

Accessibility & contrast

On white

9.17
#20419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#20419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20419B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20419B#FFFFFF#000000##FFFFFF
##20419B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20419b;
/* rgb */ color: rgb(32, 65, 155);
/* oklch */ color: oklch(40.9% 0.152 265.0);
Tailwind
colors: {
  custom: {
    50: '#7075b9',
    500: '#20419b',
    950: '#000000',
  },
}
SCSS
$custom: #20419b;
$custom-light: #7075b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20419b",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 223.902,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.15211,
    "h": 265
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#20419B
secondary
#C1A456
accent
#BB3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20419B

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

Preview Lab → · Contrast checker → · Palette generator →

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