#32218C#32218C

#32218C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.165 H 280.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#32218C
RGBrgb(50, 33, 140)
HSLhsl(250, 62%, 34%)
HSVhsv(250, 76%, 55%)
CMYKcmyk(64.3%, 76.4%, 0%, 45.1%)
CIE-LABlab(22.51, 39.43, -56.34)
CIE-LCHlch(22.51, 68.77, 304.99°)
OKLaboklab(34.93% 0.0309 -0.1625)
OKLCHoklch(34.93% 0.165 280.8)
XYZxyz(6.5914, 3.6588, 25.1647)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32218C #7B8C21
analogous
#21468C #32218C #68218C
triadic
#32218C #8C3221 #218C32
tetradic
#32218C #8C2146 #7B8C21 #218C68
square
#32218C #8C2146 #7B8C21 #218C68
split-complementary
#32218C #8C6821 #468C21
monochromatic
#0F0A29 #20155A #32218C #442DBE #6651D6

Accessibility & contrast

On white

12.13
#32218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32218C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32218C#FFFFFF#000000##FFFFFF
##32218C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32218c;
/* rgb */ color: rgb(50, 33, 140);
/* oklch */ color: oklch(34.9% 0.165 280.8);
Tailwind
colors: {
  custom: {
    50: '#765faf',
    500: '#32218c',
    950: '#000000',
  },
}
SCSS
$custom: #32218c;
$custom-light: #765faf;
$custom-dark: #000000;
JSON
{
  "hex": "#32218c",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 249.533,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.16546,
    "h": 280.8
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#32218C
secondary
#A9B94F
accent
#E543CB
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32218C

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

Preview Lab → · Contrast checker → · Palette generator →

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