#32229E#32229E

#32229E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.187 H 277.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#32229E
RGBrgb(50, 34, 158)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(68.4%, 78.5%, 0%, 38%)
CIE-LABlab(24.61, 44.61, -63.98)
CIE-LCHlch(24.61, 78.00, 304.88°)
OKLaboklab(36.97% 0.0257 -0.1848)
OKLCHoklch(36.97% 0.187 277.9)
XYZxyz(8.0570, 4.2901, 32.7446)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32229E #8E9E22
analogous
#22509E #32229E #70229E
triadic
#32229E #9E3222 #229E32
tetradic
#32229E #9E2250 #8E9E22 #229E70
square
#32229E #9E2250 #8E9E22 #229E70
split-complementary
#32229E #9E7022 #509E22
monochromatic
#120C39 #22176C #32229E #422DD0 #6E5EDC

Accessibility & contrast

On white

11.30
#32229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#32229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32229E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32229E#FFFFFF#000000##FFFFFF
##32229E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32229e;
/* rgb */ color: rgb(50, 34, 158);
/* oklch */ color: oklch(37.0% 0.187 277.9);
Tailwind
colors: {
  custom: {
    50: '#7a60bc',
    500: '#32229e',
    950: '#000000',
  },
}
SCSS
$custom: #32229e;
$custom-light: #7a60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#32229e",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 247.742,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36974,
    "c": 0.18662,
    "h": 277.9
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#32229E
secondary
#B4C15B
accent
#E840D2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #32229E

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

Preview Lab → · Contrast checker → · Palette generator →

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