#32218F#32218F

#32218F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.169 H 280.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#32218F
RGBrgb(50, 33, 143)
HSLhsl(249, 63%, 35%)
HSVhsv(249, 77%, 56%)
CMYKcmyk(65%, 76.9%, 0%, 43.9%)
CIE-LABlab(22.82, 40.39, -57.69)
CIE-LCHlch(22.82, 70.43, 305.00°)
OKLaboklab(35.24% 0.0302 -0.1665)
OKLCHoklch(35.24% 0.169 280.3)
XYZxyz(6.8156, 3.7485, 26.3456)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32218F #7E8F21
analogous
#21478F #32218F #69218F
triadic
#32218F #8F3221 #218F32
tetradic
#32218F #8F2147 #7E8F21 #218F69
square
#32218F #8F2147 #7E8F21 #218F69
split-complementary
#32218F #8F6921 #478F21
monochromatic
#0F0A2C #21165D #32218F #432CC1 #6853D7

Accessibility & contrast

On white

12.00
#32218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#32218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32218F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32218F#FFFFFF#000000##FFFFFF
##32218F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32218f;
/* rgb */ color: rgb(50, 33, 143);
/* oklch */ color: oklch(35.2% 0.169 280.3);
Tailwind
colors: {
  custom: {
    50: '#775fb1',
    500: '#32218f',
    950: '#000000',
  },
}
SCSS
$custom: #32218f;
$custom-light: #775fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#32218f",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 249.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35244,
    "c": 0.16921,
    "h": 280.3
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#32218F
secondary
#ABBB51
accent
#E642CC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #32218F

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

Preview Lab → · Contrast checker → · Palette generator →

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