#32228B#32228B

#32228B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.163 H 280.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#32228B
RGBrgb(50, 34, 139)
HSLhsl(249, 61%, 34%)
HSVhsv(249, 76%, 55%)
CMYKcmyk(64%, 75.5%, 0%, 45.5%)
CIE-LABlab(22.60, 38.55, -55.56)
CIE-LCHlch(22.60, 67.63, 304.76°)
OKLaboklab(34.97% 0.0305 -0.1603)
OKLCHoklch(34.97% 0.163 280.8)
XYZxyz(6.5461, 3.6858, 24.7876)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32228B #7B8B22
analogous
#22478B #32228B #67228B
triadic
#32228B #8B3222 #228B32
tetradic
#32228B #8B2247 #7B8B22 #228B67
square
#32228B #8B2247 #7B8B22 #228B67
split-complementary
#32228B #8B6722 #478B22
monochromatic
#0F0A29 #20165A #32228B #442EBC #6653D5

Accessibility & contrast

On white

12.09
#32228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32228B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32228B#FFFFFF#000000##FFFFFF
##32228B1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32228b;
/* rgb */ color: rgb(50, 34, 139);
/* oklch */ color: oklch(35.0% 0.163 280.8);
Tailwind
colors: {
  custom: {
    50: '#765fae',
    500: '#32228b',
    950: '#000000',
  },
}
SCSS
$custom: #32228b;
$custom-light: #765fae;
$custom-dark: #000000;
JSON
{
  "hex": "#32228b",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 249.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.16315,
    "h": 280.8
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#32228B
secondary
#A9B850
accent
#E444CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32228B

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

Preview Lab → · Contrast checker → · Palette generator →

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