#20419E#20419E

#20419E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.156 H 265.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#20419E
RGBrgb(32, 65, 158)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 80%, 62%)
CMYKcmyk(79.7%, 58.9%, 0%, 38%)
CIE-LABlab(30.77, 23.34, -53.90)
CIE-LCHlch(30.77, 58.74, 293.42°)
OKLaboklab(41.18% -0.0131 -0.1557)
OKLCHoklch(41.18% 0.156 265.2)
XYZxyz(8.6553, 6.5553, 33.1503)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20419E #9E7D20
analogous
#20809E #20419E #3E209E
triadic
#20419E #9E2041 #419E20
tetradic
#20419E #9E2080 #9E7D20 #209E3E
square
#20419E #9E2080 #9E7D20 #209E3E
split-complementary
#20419E #9E3E20 #809E20
monochromatic
#0B1738 #162C6B #20419E #2A56D1 #5B7DDE

Accessibility & contrast

On white

9.09
#20419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#20419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20419E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20419E#FFFFFF#000000##FFFFFF
##20419E1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20419e;
/* rgb */ color: rgb(32, 65, 158);
/* oklch */ color: oklch(41.2% 0.156 265.2);
Tailwind
colors: {
  custom: {
    50: '#7175bb',
    500: '#20419e',
    950: '#000000',
  },
}
SCSS
$custom: #20419e;
$custom-light: #7175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20419e",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 224.286,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.15626,
    "h": 265.2
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#20419E
secondary
#C2A658
accent
#BD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20419E

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

Preview Lab → · Contrast checker → · Palette generator →

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