#322A96#322A96

#322A96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.168 H 277.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#322A96
RGBrgb(50, 42, 150)
HSLhsl(244, 56%, 38%)
HSVhsv(244, 72%, 59%)
CMYKcmyk(66.7%, 72%, 0%, 41.2%)
CIE-LABlab(25.37, 37.54, -57.83)
CIE-LCHlch(25.37, 68.94, 302.99°)
OKLaboklab(37.26% 0.0225 -0.1669)
OKLCHoklch(37.26% 0.168 277.7)
XYZxyz(7.6466, 4.5354, 29.3207)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A96 #8E962A
analogous
#2A5896 #322A96 #682A96
triadic
#322A96 #96322A #2A9632
tetradic
#322A96 #962A58 #8E962A #2A9668
square
#322A96 #962A58 #8E962A #2A9668
split-complementary
#322A96 #96682A #58962A
monochromatic
#120F36 #221D66 #322A96 #4237C6 #6E66D4

Accessibility & contrast

On white

11.01
#322A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#322A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A96
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A96#FFFFFF#000000##FFFFFF
##322A961.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322a96;
/* rgb */ color: rgb(50, 42, 150);
/* oklch */ color: oklch(37.3% 0.168 277.7);
Tailwind
colors: {
  custom: {
    50: '#7865b6',
    500: '#322a96',
    950: '#000000',
  },
}
SCSS
$custom: #322a96;
$custom-light: #7865b6;
$custom-dark: #000000;
JSON
{
  "hex": "#322a96",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 244.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37264,
    "c": 0.16846,
    "h": 277.7
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#322A96
secondary
#B4BA61
accent
#E048D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322A96

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

Preview Lab → · Contrast checker → · Palette generator →

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