#20219E#20219E

#20219E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.192 H 270.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#20219E
RGBrgb(32, 33, 158)
HSLhsl(240, 66%, 37%)
HSVhsv(240, 80%, 62%)
CMYKcmyk(79.7%, 79.1%, 0%, 38%)
CIE-LABlab(23.21, 43.61, -66.33)
CIE-LCHlch(23.21, 79.38, 303.32°)
OKLaboklab(35.68% 0.0029 -0.1921)
OKLCHoklch(35.68% 0.192 270.9)
XYZxyz(7.3090, 3.8626, 32.7015)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20219E #9E9D20
analogous
#20609E #20219E #5E209E
triadic
#20219E #9E2021 #219E20
tetradic
#20219E #9E2060 #9E9D20 #209E5E
square
#20219E #9E2060 #9E9D20 #209E5E
split-complementary
#20219E #9E5E20 #609E20
monochromatic
#0B0C38 #16166B #20219E #2A2CD1 #5B5CDE

Accessibility & contrast

On white

11.85
#20219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20219E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20219E#FFFFFF#000000##FFFFFF
##20219E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20219e;
/* rgb */ color: rgb(32, 33, 158);
/* oklch */ color: oklch(35.7% 0.192 270.9);
Tailwind
colors: {
  custom: {
    50: '#745fbc',
    500: '#20219e',
    950: '#000000',
  },
}
SCSS
$custom: #20219e;
$custom-light: #745fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#20219e",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 239.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35678,
    "c": 0.19208,
    "h": 270.9
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#20219E
secondary
#C2C158
accent
#E83FE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20219E

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

Preview Lab → · Contrast checker → · Palette generator →

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