#32228A#32228A

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

Color values

HEX#32228A
RGBrgb(50, 34, 138)
HSLhsl(249, 60%, 34%)
HSVhsv(249, 75%, 54%)
CMYKcmyk(63.8%, 75.4%, 0%, 45.9%)
CIE-LABlab(22.50, 38.23, -55.10)
CIE-LCHlch(22.50, 67.07, 304.75°)
OKLaboklab(34.86% 0.0307 -0.1589)
OKLCHoklch(34.86% 0.162 280.9)
XYZxyz(6.4734, 3.6567, 24.4045)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32228A #7A8A22
analogous
#22468A #32228A #66228A
triadic
#32228A #8A3222 #228A32
tetradic
#32228A #8A2246 #7A8A22 #228A66
square
#32228A #8A2246 #7A8A22 #228A66
split-complementary
#32228A #8A6622 #468A22
monochromatic
#0E0A28 #201659 #32228A #442EBB #6652D4

Accessibility & contrast

On white

12.13
#32228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#32228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32228A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32228A#FFFFFF#000000##FFFFFF
##32228A1.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)
#00398D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32228a;
/* rgb */ color: rgb(50, 34, 138);
/* oklch */ color: oklch(34.9% 0.162 280.9);
Tailwind
colors: {
  custom: {
    50: '#765fad',
    500: '#32228a',
    950: '#000000',
  },
}
SCSS
$custom: #32228a;
$custom-light: #765fad;
$custom-dark: #000000;
JSON
{
  "hex": "#32228a",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 249.231,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34863,
    "c": 0.16189,
    "h": 280.9
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#32228A
secondary
#A8B850
accent
#E444CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #32228A

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

Preview Lab → · Contrast checker → · Palette generator →

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