#32218D#32218D

#32218D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.167 H 280.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#32218D
RGBrgb(50, 33, 141)
HSLhsl(249, 62%, 34%)
HSVhsv(249, 77%, 55%)
CMYKcmyk(64.5%, 76.6%, 0%, 44.7%)
CIE-LABlab(22.61, 39.75, -56.79)
CIE-LCHlch(22.61, 69.32, 304.99°)
OKLaboklab(35.03% 0.0307 -0.1639)
OKLCHoklch(35.03% 0.167 280.6)
XYZxyz(6.6654, 3.6884, 25.5548)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32218D #7C8D21
analogous
#21468D #32218D #68218D
triadic
#32218D #8D3221 #218D32
tetradic
#32218D #8D2146 #7C8D21 #218D68
square
#32218D #8D2146 #7C8D21 #218D68
split-complementary
#32218D #8D6821 #468D21
monochromatic
#0F0A2A #20155B #32218D #442DBF #6752D6

Accessibility & contrast

On white

12.08
#32218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#32218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32218D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32218D#FFFFFF#000000##FFFFFF
##32218D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32218d;
/* rgb */ color: rgb(50, 33, 141);
/* oklch */ color: oklch(35.0% 0.167 280.6);
Tailwind
colors: {
  custom: {
    50: '#765faf',
    500: '#32218d',
    950: '#000000',
  },
}
SCSS
$custom: #32218d;
$custom-light: #765faf;
$custom-dark: #000000;
JSON
{
  "hex": "#32218d",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 249.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.16672,
    "h": 280.6
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#32218D
secondary
#A9BA50
accent
#E543CC
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #32218D

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

Preview Lab → · Contrast checker → · Palette generator →

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