#20219B#20219B

#20219B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.188 H 271.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#20219B
RGBrgb(32, 33, 155)
HSLhsl(240, 66%, 37%)
HSVhsv(240, 79%, 61%)
CMYKcmyk(79.4%, 78.7%, 0%, 39.2%)
CIE-LABlab(22.86, 42.60, -65.07)
CIE-LCHlch(22.86, 77.78, 303.21°)
OKLaboklab(35.33% 0.0035 -0.1884)
OKLCHoklch(35.33% 0.188 271.1)
XYZxyz(7.0539, 3.7606, 31.3581)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20219B #9B9A20
analogous
#205F9B #20219B #5D209B
triadic
#20219B #9B2021 #219B20
tetradic
#20219B #9B205F #9B9A20 #209B5D
square
#20219B #9B205F #9B9A20 #209B5D
split-complementary
#20219B #9B5D20 #5F9B20
monochromatic
#0B0B36 #161668 #20219B #2A2CCE #595ADD

Accessibility & contrast

On white

11.98
#20219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20219B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20219B#FFFFFF#000000##FFFFFF
##20219B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20219b;
/* rgb */ color: rgb(32, 33, 155);
/* oklch */ color: oklch(35.3% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#735fba',
    500: '#20219b',
    950: '#000000',
  },
}
SCSS
$custom: #20219b;
$custom-light: #735fba;
$custom-dark: #000000;
JSON
{
  "hex": "#20219b",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 239.512,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35331,
    "c": 0.18844,
    "h": 271.1
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#20219B
secondary
#C1C056
accent
#E73FE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20219B

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

Preview Lab → · Contrast checker → · Palette generator →

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