#32218B#32218B

#32218B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.164 H 280.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#32218B
RGBrgb(50, 33, 139)
HSLhsl(250, 62%, 34%)
HSVhsv(250, 76%, 55%)
CMYKcmyk(64%, 76.3%, 0%, 45.5%)
CIE-LABlab(22.41, 39.11, -55.89)
CIE-LCHlch(22.41, 68.21, 304.99°)
OKLaboklab(34.83% 0.0312 -0.1612)
OKLCHoklch(34.83% 0.164 280.9)
XYZxyz(6.5180, 3.6294, 24.7782)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32218B #7A8B21
analogous
#21458B #32218B #67218B
triadic
#32218B #8B3221 #218B32
tetradic
#32218B #8B2145 #7A8B21 #218B67
square
#32218B #8B2145 #7A8B21 #218B67
split-complementary
#32218B #8B6721 #458B21
monochromatic
#0E0A28 #20155A #32218B #442DBC #6651D6

Accessibility & contrast

On white

12.17
#32218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#32218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32218B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32218B#FFFFFF#000000##FFFFFF
##32218B1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32218b;
/* rgb */ color: rgb(50, 33, 139);
/* oklch */ color: oklch(34.8% 0.164 280.9);
Tailwind
colors: {
  custom: {
    50: '#765fae',
    500: '#32218b',
    950: '#000000',
  },
}
SCSS
$custom: #32218b;
$custom-light: #765fae;
$custom-dark: #000000;
JSON
{
  "hex": "#32218b",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 249.623,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34826,
    "c": 0.16421,
    "h": 280.9
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#32218B
secondary
#A8B94F
accent
#E543CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32218B

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

Preview Lab → · Contrast checker → · Palette generator →

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