#32229B#32229B

#32229B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.183 H 278.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#32229B
RGBrgb(50, 34, 155)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 61%)
CMYKcmyk(67.7%, 78.1%, 0%, 39.2%)
CIE-LABlab(24.28, 43.66, -62.68)
CIE-LCHlch(24.28, 76.39, 304.86°)
OKLaboklab(36.65% 0.0265 -0.1811)
OKLCHoklch(36.65% 0.183 278.3)
XYZxyz(7.8019, 4.1881, 31.4012)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32229B #8B9B22
analogous
#224F9B #32229B #6F229B
triadic
#32229B #9B3222 #229B32
tetradic
#32229B #9B224F #8B9B22 #229B6F
square
#32229B #9B224F #8B9B22 #229B6F
split-complementary
#32229B #9B6F22 #4F9B22
monochromatic
#120C37 #221769 #32229B #422DCD #6D5CDB

Accessibility & contrast

On white

11.43
#32229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32229B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32229B#FFFFFF#000000##FFFFFF
##32229B1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32229b;
/* rgb */ color: rgb(50, 34, 155);
/* oklch */ color: oklch(36.7% 0.183 278.3);
Tailwind
colors: {
  custom: {
    50: '#7960ba',
    500: '#32229b',
    950: '#000000',
  },
}
SCSS
$custom: #32229b;
$custom-light: #7960ba;
$custom-dark: #000000;
JSON
{
  "hex": "#32229b",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 247.934,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36651,
    "c": 0.18299,
    "h": 278.3
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32229B

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

Preview Lab → · Contrast checker → · Palette generator →

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