#32229C#32229C

#32229C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.184 H 278.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#32229C
RGBrgb(50, 34, 156)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 61%)
CMYKcmyk(67.9%, 78.2%, 0%, 38.8%)
CIE-LABlab(24.39, 43.98, -63.12)
CIE-LCHlch(24.39, 76.93, 304.87°)
OKLaboklab(36.76% 0.0262 -0.1823)
OKLCHoklch(36.76% 0.184 278.2)
XYZxyz(7.8862, 4.2218, 31.8453)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32229C #8C9C22
analogous
#224F9C #32229C #6F229C
triadic
#32229C #9C3222 #229C32
tetradic
#32229C #9C224F #8C9C22 #229C6F
square
#32229C #9C224F #8C9C22 #229C6F
split-complementary
#32229C #9C6F22 #4F9C22
monochromatic
#120C38 #22176A #32229C #422DCE #6D5DDC

Accessibility & contrast

On white

11.39
#32229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#32229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32229C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32229C#FFFFFF#000000##FFFFFF
##32229C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32229c;
/* rgb */ color: rgb(50, 34, 156);
/* oklch */ color: oklch(36.8% 0.184 278.2);
Tailwind
colors: {
  custom: {
    50: '#7a60ba',
    500: '#32229c',
    950: '#000000',
  },
}
SCSS
$custom: #32229c;
$custom-light: #7a60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#32229c",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 247.869,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36758,
    "c": 0.1842,
    "h": 278.2
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#32229C
secondary
#B3C05A
accent
#E741D1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #32229C

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

Preview Lab → · Contrast checker → · Palette generator →

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