#32229F#32229F

#32229F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.188 H 277.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#32229F
RGBrgb(50, 34, 159)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 79%, 62%)
CMYKcmyk(68.6%, 78.6%, 0%, 37.6%)
CIE-LABlab(24.72, 44.92, -64.41)
CIE-LCHlch(24.72, 78.53, 304.89°)
OKLaboklab(37.08% 0.0254 -0.1861)
OKLCHoklch(37.08% 0.188 277.8)
XYZxyz(8.1434, 4.3247, 33.1998)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32229F #8F9F22
analogous
#22509F #32229F #70229F
triadic
#32229F #9F3222 #229F32
tetradic
#32229F #9F2250 #8F9F22 #229F70
square
#32229F #9F2250 #8F9F22 #229F70
split-complementary
#32229F #9F7022 #509F22
monochromatic
#120C3A #22176D #32229F #422DD1 #6F5FDD

Accessibility & contrast

On white

11.26
#32229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#32229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32229F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32229F#FFFFFF#000000##FFFFFF
##32229F1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #32229f;
/* rgb */ color: rgb(50, 34, 159);
/* oklch */ color: oklch(37.1% 0.188 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a60bd',
    500: '#32229f',
    950: '#000000',
  },
}
SCSS
$custom: #32229f;
$custom-light: #7a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#32229f",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 247.68,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37083,
    "c": 0.18782,
    "h": 277.8
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32229F

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

Preview Lab → · Contrast checker → · Palette generator →

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