#20219D#20219D

#20219D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.191 H 270.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#20219D
RGBrgb(32, 33, 157)
HSLhsl(240, 66%, 37%)
HSVhsv(240, 80%, 62%)
CMYKcmyk(79.6%, 79%, 0%, 38.4%)
CIE-LABlab(23.10, 43.27, -65.91)
CIE-LCHlch(23.10, 78.85, 303.29°)
OKLaboklab(35.56% 0.0031 -0.1908)
OKLCHoklch(35.56% 0.191 270.9)
XYZxyz(7.2233, 3.8283, 32.2500)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20219D #9D9C20
analogous
#20609D #20219D #5E209D
triadic
#20219D #9D2021 #219D20
tetradic
#20219D #9D2060 #9D9C20 #209D5E
square
#20219D #9D2060 #9D9C20 #209D5E
split-complementary
#20219D #9D5E20 #609D20
monochromatic
#0B0C37 #16166A #20219D #2A2CD0 #5A5BDD

Accessibility & contrast

On white

11.89
#20219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#20219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20219D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20219D#FFFFFF#000000##FFFFFF
##20219D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20219d;
/* rgb */ color: rgb(32, 33, 157);
/* oklch */ color: oklch(35.6% 0.191 270.9);
Tailwind
colors: {
  custom: {
    50: '#735fbb',
    500: '#20219d',
    950: '#000000',
  },
}
SCSS
$custom: #20219d;
$custom-light: #735fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#20219d",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 239.52,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35562,
    "c": 0.19088,
    "h": 270.9
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#20219D
secondary
#C1C157
accent
#E83FE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20219D

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

Preview Lab → · Contrast checker → · Palette generator →

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