#20419C#20419C

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

Color values

HEX#20419C
RGBrgb(32, 65, 156)
HSLhsl(224, 66%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(79.5%, 58.3%, 0%, 38.8%)
CIE-LABlab(30.61, 22.56, -52.96)
CIE-LCHlch(30.61, 57.56, 293.07°)
OKLaboklab(41.01% -0.0132 -0.1529)
OKLCHoklch(41.01% 0.153 265.1)
XYZxyz(8.4846, 6.4870, 32.2510)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20419C #9C7B20
analogous
#207F9C #20419C #3D209C
triadic
#20419C #9C2041 #419C20
tetradic
#20419C #9C207F #9C7B20 #209C3D
square
#20419C #9C207F #9C7B20 #209C3D
split-complementary
#20419C #9C3D20 #7F9C20
monochromatic
#0B1736 #162C69 #20419C #2A56CF #597CDD

Accessibility & contrast

On white

9.14
#20419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20419C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20419C#FFFFFF#000000##FFFFFF
##20419C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20419c;
/* rgb */ color: rgb(32, 65, 156);
/* oklch */ color: oklch(41.0% 0.153 265.1);
Tailwind
colors: {
  custom: {
    50: '#7075ba',
    500: '#20419c',
    950: '#000000',
  },
}
SCSS
$custom: #20419c;
$custom-light: #7075ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20419c",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 224.032,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.15349,
    "h": 265.1
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20419C

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

Preview Lab → · Contrast checker → · Palette generator →

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