#32218A#32218A

#32218A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.163 H 281.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#32218A
RGBrgb(50, 33, 138)
HSLhsl(250, 61%, 34%)
HSVhsv(250, 76%, 54%)
CMYKcmyk(63.8%, 76.1%, 0%, 45.9%)
CIE-LABlab(22.30, 38.79, -55.43)
CIE-LCHlch(22.30, 67.66, 304.98°)
OKLaboklab(34.72% 0.0314 -0.1599)
OKLCHoklch(34.72% 0.163 281.1)
XYZxyz(6.4452, 3.6003, 24.3951)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32218A #798A21
analogous
#21448A #32218A #66218A
triadic
#32218A #8A3221 #218A32
tetradic
#32218A #8A2144 #798A21 #218A66
square
#32218A #8A2144 #798A21 #218A66
split-complementary
#32218A #8A6621 #448A21
monochromatic
#0E0927 #201559 #32218A #442DBB #6650D5

Accessibility & contrast

On white

12.21
#32218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#32218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32218A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32218A#FFFFFF#000000##FFFFFF
##32218A1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #32218a;
/* rgb */ color: rgb(50, 33, 138);
/* oklch */ color: oklch(34.7% 0.163 281.1);
Tailwind
colors: {
  custom: {
    50: '#765fad',
    500: '#32218a',
    950: '#000000',
  },
}
SCSS
$custom: #32218a;
$custom-light: #765fad;
$custom-dark: #000000;
JSON
{
  "hex": "#32218a",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 249.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34722,
    "c": 0.16296,
    "h": 281.1
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#32218A
secondary
#A7B94E
accent
#E543CA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32218A

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

Preview Lab → · Contrast checker → · Palette generator →

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