#322291#322291

#322291 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.171 H 279.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#322291
RGBrgb(50, 34, 145)
HSLhsl(249, 62%, 35%)
HSVhsv(249, 77%, 57%)
CMYKcmyk(65.5%, 76.6%, 0%, 43.1%)
CIE-LABlab(23.22, 40.48, -58.27)
CIE-LCHlch(23.22, 70.96, 304.79°)
OKLaboklab(35.59% 0.029 -0.1682)
OKLCHoklch(35.59% 0.171 279.8)
XYZxyz(6.9966, 3.8659, 27.1601)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322291 #819122
analogous
#224991 #322291 #6A2291
triadic
#322291 #913222 #229132
tetradic
#322291 #912249 #819122 #22916A
square
#322291 #912249 #819122 #22916A
split-complementary
#322291 #916A22 #499122
monochromatic
#100B2E #21165F #322291 #432EC3 #6956D7

Accessibility & contrast

On white

11.84
#322291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#322291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322291
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322291#FFFFFF#000000##FFFFFF
##3222911.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322291;
/* rgb */ color: rgb(50, 34, 145);
/* oklch */ color: oklch(35.6% 0.171 279.8);
Tailwind
colors: {
  custom: {
    50: '#7760b2',
    500: '#322291',
    950: '#000000',
  },
}
SCSS
$custom: #322291;
$custom-light: #7760b2;
$custom-dark: #000000;
JSON
{
  "hex": "#322291",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 248.649,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.17068,
    "h": 279.8
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#322291
secondary
#ACBB53
accent
#E543CE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322291

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

Preview Lab → · Contrast checker → · Palette generator →

#322291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva