#322B95#322B95

#322B95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.166 H 277.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#322B95
RGBrgb(50, 43, 149)
HSLhsl(244, 55%, 38%)
HSVhsv(244, 71%, 58%)
CMYKcmyk(66.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.49, 36.60, -57.01)
CIE-LCHlch(25.49, 67.75, 302.70°)
OKLaboklab(37.32% 0.022 -0.1646)
OKLCHoklch(37.32% 0.166 277.6)
XYZxyz(7.6023, 4.5752, 28.9104)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B95 #8E952B
analogous
#2B5995 #322B95 #672B95
triadic
#322B95 #95322B #2B9532
tetradic
#322B95 #952B59 #8E952B #2B9567
square
#322B95 #952B59 #8E952B #2B9567
split-complementary
#322B95 #95672B #59952B
monochromatic
#121036 #221D66 #322B95 #4239C4 #6E67D3

Accessibility & contrast

On white

10.96
#322B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#322B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B95
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B95#FFFFFF#000000##FFFFFF
##322B951.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322b95;
/* rgb */ color: rgb(50, 43, 149);
/* oklch */ color: oklch(37.3% 0.166 277.6);
Tailwind
colors: {
  custom: {
    50: '#7765b5',
    500: '#322b95',
    950: '#000000',
  },
}
SCSS
$custom: #322b95;
$custom-light: #7765b5;
$custom-dark: #000000;
JSON
{
  "hex": "#322b95",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 243.962,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.16603,
    "h": 277.6
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322B95

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

Preview Lab → · Contrast checker → · Palette generator →

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