#32219D#32219D

#32219D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.186 H 278.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#32219D
RGBrgb(50, 33, 157)
HSLhsl(248, 65%, 37%)
HSVhsv(248, 79%, 62%)
CMYKcmyk(68.2%, 79%, 0%, 38.4%)
CIE-LABlab(24.32, 44.81, -63.85)
CIE-LCHlch(24.32, 78.00, 305.06°)
OKLaboklab(36.74% 0.0265 -0.1844)
OKLCHoklch(36.74% 0.186 278.2)
XYZxyz(7.9431, 4.1995, 32.2837)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32219D #8C9D21
analogous
#214E9D #32219D #70219D
triadic
#32219D #9D3221 #219D32
tetradic
#32219D #9D214E #8C9D21 #219D70
square
#32219D #9D214E #8C9D21 #219D70
split-complementary
#32219D #9D7021 #4E9D21
monochromatic
#120C38 #22166A #32219D #422CD0 #6D5CDD

Accessibility & contrast

On white

11.41
#32219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#32219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32219D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32219D#FFFFFF#000000##FFFFFF
##32219D1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32219d;
/* rgb */ color: rgb(50, 33, 157);
/* oklch */ color: oklch(36.7% 0.186 278.2);
Tailwind
colors: {
  custom: {
    50: '#7a60bb',
    500: '#32219d',
    950: '#000000',
  },
}
SCSS
$custom: #32219d;
$custom-light: #7a60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#32219d",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 248.226,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36741,
    "c": 0.18632,
    "h": 278.2
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#32219D
secondary
#B3C159
accent
#E840D1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #32219D

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

Preview Lab → · Contrast checker → · Palette generator →

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