#322BA5#322BA5

#322BA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.186 H 275.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#322BA5
RGBrgb(50, 43, 165)
HSLhsl(243, 59%, 41%)
HSVhsv(243, 74%, 65%)
CMYKcmyk(69.7%, 73.9%, 0%, 35.3%)
CIE-LABlab(27.08, 41.95, -64.16)
CIE-LCHlch(27.08, 76.65, 303.18°)
OKLaboklab(38.94% 0.0191 -0.1854)
OKLCHoklch(38.94% 0.186 275.9)
XYZxyz(8.9686, 5.1217, 36.1060)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BA5 #9EA52B
analogous
#2B61A5 #322BA5 #6F2BA5
triadic
#322BA5 #A5322B #2BA532
tetradic
#322BA5 #A52B61 #9EA52B #2BA56F
square
#322BA5 #A52B61 #9EA52B #2BA56F
split-complementary
#322BA5 #A56F2B #61A52B
monochromatic
#151244 #231E74 #322BA5 #4840CD #7771DA

Accessibility & contrast

On white

10.37
#322BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#322BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322BA5
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BA5#FFFFFF#000000##FFFFFF
##322BA51.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ba5;
/* rgb */ color: rgb(50, 43, 165);
/* oklch */ color: oklch(38.9% 0.186 275.9);
Tailwind
colors: {
  custom: {
    50: '#7b66c1',
    500: '#322ba5',
    950: '#000000',
  },
}
SCSS
$custom: #322ba5;
$custom-light: #7b66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#322ba5",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 243.443,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.18641,
    "h": 275.9
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#322BA5
secondary
#BCC16B
accent
#E246D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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