#32229D#32229D

#32229D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.185 H 278.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#32229D
RGBrgb(50, 34, 157)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(68.2%, 78.3%, 0%, 38.4%)
CIE-LABlab(24.50, 44.29, -63.55)
CIE-LCHlch(24.50, 77.46, 304.88°)
OKLaboklab(36.87% 0.026 -0.1836)
OKLCHoklch(36.87% 0.185 278)
XYZxyz(7.9713, 4.2558, 32.2931)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32229D #8D9D22
analogous
#224F9D #32229D #70229D
triadic
#32229D #9D3222 #229D32
tetradic
#32229D #9D224F #8D9D22 #229D70
square
#32229D #9D224F #8D9D22 #229D70
split-complementary
#32229D #9D7022 #4F9D22
monochromatic
#120C38 #22176B #32229D #422DCF #6E5DDC

Accessibility & contrast

On white

11.34
#32229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#32229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32229D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32229D#FFFFFF#000000##FFFFFF
##32229D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32229d;
/* rgb */ color: rgb(50, 34, 157);
/* oklch */ color: oklch(36.9% 0.185 278.0);
Tailwind
colors: {
  custom: {
    50: '#7a60bb',
    500: '#32229d',
    950: '#000000',
  },
}
SCSS
$custom: #32229d;
$custom-light: #7a60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#32229d",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 247.805,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.18541,
    "h": 278
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#32229D
secondary
#B3C15A
accent
#E740D2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #32229D

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

Preview Lab → · Contrast checker → · Palette generator →

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