#20419D#20419D

#20419D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.155 H 265.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#20419D
RGBrgb(32, 65, 157)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 80%, 62%)
CMYKcmyk(79.6%, 58.6%, 0%, 38.4%)
CIE-LABlab(30.69, 22.95, -53.43)
CIE-LCHlch(30.69, 58.15, 293.25°)
OKLaboklab(41.09% -0.0132 -0.1543)
OKLCHoklch(41.09% 0.155 265.1)
XYZxyz(8.5696, 6.5210, 32.6988)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20419D #9D7C20
analogous
#20809D #20419D #3E209D
triadic
#20419D #9D2041 #419D20
tetradic
#20419D #9D2080 #9D7C20 #209D3E
square
#20419D #9D2080 #9D7C20 #209D3E
split-complementary
#20419D #9D3E20 #809D20
monochromatic
#0B1737 #162C6A #20419D #2A56D0 #5A7DDD

Accessibility & contrast

On white

9.11
#20419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#20419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20419D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20419D#FFFFFF#000000##FFFFFF
##20419D1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20419d;
/* rgb */ color: rgb(32, 65, 157);
/* oklch */ color: oklch(41.1% 0.155 265.1);
Tailwind
colors: {
  custom: {
    50: '#7075bb',
    500: '#20419d',
    950: '#000000',
  },
}
SCSS
$custom: #20419d;
$custom-light: #7075bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20419d",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 224.16,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.15488,
    "h": 265.1
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#20419D
secondary
#C1A557
accent
#BC3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20419D

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

Preview Lab → · Contrast checker → · Palette generator →

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