#20219C#20219C

#20219C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.190 H 271.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#20219C
RGBrgb(32, 33, 156)
HSLhsl(240, 66%, 37%)
HSVhsv(240, 79%, 61%)
CMYKcmyk(79.5%, 78.8%, 0%, 38.8%)
CIE-LABlab(22.98, 42.94, -65.49)
CIE-LCHlch(22.98, 78.31, 303.25°)
OKLaboklab(35.45% 0.0033 -0.1896)
OKLCHoklch(35.45% 0.19 271)
XYZxyz(7.1382, 3.7943, 31.8022)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20219C #9C9B20
analogous
#205F9C #20219C #5D209C
triadic
#20219C #9C2021 #219C20
tetradic
#20219C #9C205F #9C9B20 #209C5D
square
#20219C #9C205F #9C9B20 #209C5D
split-complementary
#20219C #9C5D20 #5F9C20
monochromatic
#0B0C36 #161669 #20219C #2A2CCF #595ADD

Accessibility & contrast

On white

11.94
#20219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#20219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20219C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20219C#FFFFFF#000000##FFFFFF
##20219C1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00309A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20219c;
/* rgb */ color: rgb(32, 33, 156);
/* oklch */ color: oklch(35.4% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#735fbb',
    500: '#20219c',
    950: '#000000',
  },
}
SCSS
$custom: #20219c;
$custom-light: #735fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#20219c",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 239.516,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.18966,
    "h": 271
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20219C

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

Preview Lab → · Contrast checker → · Palette generator →

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