#32228F#32228F

#32228F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.168 H 280.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#32228F
RGBrgb(50, 34, 143)
HSLhsl(249, 62%, 35%)
HSVhsv(249, 76%, 56%)
CMYKcmyk(65%, 76.2%, 0%, 43.9%)
CIE-LABlab(23.02, 39.84, -57.37)
CIE-LCHlch(23.02, 69.85, 304.78°)
OKLaboklab(35.38% 0.0295 -0.1656)
OKLCHoklch(35.38% 0.168 280.1)
XYZxyz(6.8438, 3.8048, 26.3550)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32228F #7F8F22
analogous
#22498F #32228F #68228F
triadic
#32228F #8F3222 #228F32
tetradic
#32228F #8F2249 #7F8F22 #228F68
square
#32228F #8F2249 #7F8F22 #228F68
split-complementary
#32228F #8F6822 #498F22
monochromatic
#0F0A2C #21165E #32228F #432EC0 #6855D7

Accessibility & contrast

On white

11.93
#32228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#32228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32228F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32228F#FFFFFF#000000##FFFFFF
##32228F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32228f;
/* rgb */ color: rgb(50, 34, 143);
/* oklch */ color: oklch(35.4% 0.168 280.1);
Tailwind
colors: {
  custom: {
    50: '#775fb1',
    500: '#32228f',
    950: '#000000',
  },
}
SCSS
$custom: #32228f;
$custom-light: #775fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#32228f",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 248.807,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3538,
    "c": 0.16819,
    "h": 280.1
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#32228F
secondary
#ABBA52
accent
#E543CD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #32228F

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

Preview Lab → · Contrast checker → · Palette generator →

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