#20219A#20219A

#20219A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.187 H 271.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#20219A
RGBrgb(32, 33, 154)
HSLhsl(240, 66%, 36%)
HSVhsv(240, 79%, 60%)
CMYKcmyk(79.2%, 78.6%, 0%, 39.6%)
CIE-LABlab(22.75, 42.27, -64.65)
CIE-LCHlch(22.75, 77.24, 303.18°)
OKLaboklab(35.22% 0.0037 -0.1872)
OKLCHoklch(35.22% 0.187 271.1)
XYZxyz(6.9703, 3.7271, 30.9176)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20219A #9A9920
analogous
#205E9A #20219A #5C209A
triadic
#20219A #9A2021 #219A20
tetradic
#20219A #9A205E #9A9920 #209A5C
square
#20219A #9A205E #9A9920 #209A5C
split-complementary
#20219A #9A5C20 #5E9A20
monochromatic
#0B0B35 #151667 #20219A #2B2CCD #5859DC

Accessibility & contrast

On white

12.03
#20219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#20219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20219A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20219A#FFFFFF#000000##FFFFFF
##20219A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #20219a;
/* rgb */ color: rgb(32, 33, 154);
/* oklch */ color: oklch(35.2% 0.187 271.1);
Tailwind
colors: {
  custom: {
    50: '#735eb9',
    500: '#20219a',
    950: '#000000',
  },
}
SCSS
$custom: #20219a;
$custom-light: #735eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#20219a",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 239.508,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35216,
    "c": 0.18722,
    "h": 271.1
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#20219A
secondary
#C0BF56
accent
#E73FE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20219A

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

Preview Lab → · Contrast checker → · Palette generator →

#20219A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva