#322B97#322B97

#322B97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.169 H 277.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#322B97
RGBrgb(50, 43, 151)
HSLhsl(244, 56%, 38%)
HSVhsv(244, 72%, 59%)
CMYKcmyk(66.9%, 71.5%, 0%, 40.8%)
CIE-LABlab(25.68, 37.28, -57.93)
CIE-LCHlch(25.68, 68.88, 302.76°)
OKLaboklab(37.52% 0.0216 -0.1672)
OKLCHoklch(37.52% 0.169 277.4)
XYZxyz(7.7634, 4.6396, 29.7586)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B97 #90972B
analogous
#2B5A97 #322B97 #682B97
triadic
#322B97 #97322B #2B9732
tetradic
#322B97 #972B5A #90972B #2B9768
square
#322B97 #972B5A #90972B #2B9768
split-complementary
#322B97 #97682B #5A972B
monochromatic
#121038 #221D67 #322B97 #4239C7 #6F68D4

Accessibility & contrast

On white

10.89
#322B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#322B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B97
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B97#FFFFFF#000000##FFFFFF
##322B971.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #322b97;
/* rgb */ color: rgb(50, 43, 151);
/* oklch */ color: oklch(37.5% 0.169 277.4);
Tailwind
colors: {
  custom: {
    50: '#7865b7',
    500: '#322b97',
    950: '#000000',
  },
}
SCSS
$custom: #322b97;
$custom-light: #7865b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322b97",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 243.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37519,
    "c": 0.16863,
    "h": 277.4
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#322B97
secondary
#B5BB63
accent
#DF49D5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322B97

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

Preview Lab → · Contrast checker → · Palette generator →

#322B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva