#32228C#32228C

#32228C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.164 H 280.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#32228C
RGBrgb(50, 34, 140)
HSLhsl(249, 61%, 34%)
HSVhsv(249, 76%, 55%)
CMYKcmyk(64.3%, 75.7%, 0%, 45.1%)
CIE-LABlab(22.71, 38.88, -56.02)
CIE-LCHlch(22.71, 68.19, 304.76°)
OKLaboklab(35.07% 0.0302 -0.1616)
OKLCHoklch(35.07% 0.164 280.6)
XYZxyz(6.6195, 3.7151, 25.1741)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32228C #7C8C22
analogous
#22478C #32228C #67228C
triadic
#32228C #8C3222 #228C32
tetradic
#32228C #8C2247 #7C8C22 #228C67
square
#32228C #8C2247 #7C8C22 #228C67
split-complementary
#32228C #8C6722 #478C22
monochromatic
#0F0A2A #20165B #32228C #442EBD #6753D5

Accessibility & contrast

On white

12.05
#32228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#32228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32228C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32228C#FFFFFF#000000##FFFFFF
##32228C1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32228c;
/* rgb */ color: rgb(50, 34, 140);
/* oklch */ color: oklch(35.1% 0.164 280.6);
Tailwind
colors: {
  custom: {
    50: '#765faf',
    500: '#32228c',
    950: '#000000',
  },
}
SCSS
$custom: #32228c;
$custom-light: #765faf;
$custom-dark: #000000;
JSON
{
  "hex": "#32228c",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 249.057,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35069,
    "c": 0.16441,
    "h": 280.6
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#32228C
secondary
#A9B951
accent
#E444CC
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32228C

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

Preview Lab → · Contrast checker → · Palette generator →

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