#20419F#20419F

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

Color values

HEX#20419F
RGBrgb(32, 65, 159)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 80%, 62%)
CMYKcmyk(79.9%, 59.1%, 0%, 37.6%)
CIE-LABlab(30.85, 23.74, -54.38)
CIE-LCHlch(30.85, 59.33, 293.58°)
OKLaboklab(41.27% -0.0131 -0.1571)
OKLCHoklch(41.27% 0.158 265.2)
XYZxyz(8.7418, 6.5899, 33.6054)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20419F #9F7E20
analogous
#20819F #20419F #3E209F
triadic
#20419F #9F2041 #419F20
tetradic
#20419F #9F2081 #9F7E20 #209F3E
square
#20419F #9F2081 #9F7E20 #209F3E
split-complementary
#20419F #9F3E20 #819F20
monochromatic
#0B1739 #162C6C #20419F #2A56D2 #5B7DDE

Accessibility & contrast

On white

9.06
#20419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#20419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20419F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20419F#FFFFFF#000000##FFFFFF
##20419F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20419f;
/* rgb */ color: rgb(32, 65, 159);
/* oklch */ color: oklch(41.3% 0.158 265.2);
Tailwind
colors: {
  custom: {
    50: '#7175bc',
    500: '#20419f',
    950: '#000000',
  },
}
SCSS
$custom: #20419f;
$custom-light: #7175bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20419f",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 224.409,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.15764,
    "h": 265.2
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#20419F
secondary
#C2A759
accent
#BD3EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20419F

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

Preview Lab → · Contrast checker → · Palette generator →

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