#32229A#32229A

#32229A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.182 H 278.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#32229A
RGBrgb(50, 34, 154)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 60%)
CMYKcmyk(67.5%, 77.9%, 0%, 39.6%)
CIE-LABlab(24.18, 43.35, -62.25)
CIE-LCHlch(24.18, 75.85, 304.85°)
OKLaboklab(36.54% 0.0267 -0.1798)
OKLCHoklch(36.54% 0.182 278.5)
XYZxyz(7.7183, 4.1546, 30.9608)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32229A #8A9A22
analogous
#224E9A #32229A #6E229A
triadic
#32229A #9A3222 #229A32
tetradic
#32229A #9A224E #8A9A22 #229A6E
square
#32229A #9A224E #8A9A22 #229A6E
split-complementary
#32229A #9A6E22 #4E9A22
monochromatic
#110C36 #221768 #32229A #422DCC #6C5BDB

Accessibility & contrast

On white

11.47
#32229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#32229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32229A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32229A#FFFFFF#000000##FFFFFF
##32229A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32229a;
/* rgb */ color: rgb(50, 34, 154);
/* oklch */ color: oklch(36.5% 0.182 278.5);
Tailwind
colors: {
  custom: {
    50: '#7960b9',
    500: '#32229a',
    950: '#000000',
  },
}
SCSS
$custom: #32229a;
$custom-light: #7960b9;
$custom-dark: #000000;
JSON
{
  "hex": "#32229a",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 248,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36543,
    "c": 0.18177,
    "h": 278.5
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32229A

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

Preview Lab → · Contrast checker → · Palette generator →

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