#322BAB#322BAB

#322BAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.6% C 0.194 H 275.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#322BAB
RGBrgb(50, 43, 171)
HSLhsl(243, 60%, 42%)
HSVhsv(243, 75%, 67%)
CMYKcmyk(70.8%, 74.9%, 0%, 32.9%)
CIE-LABlab(27.70, 43.92, -66.76)
CIE-LCHlch(27.70, 79.91, 303.34°)
OKLaboklab(39.56% 0.0179 -0.193)
OKLCHoklch(39.56% 0.194 275.3)
XYZxyz(9.5275, 5.3452, 39.0498)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BAB #A4AB2B
analogous
#2B64AB #322BAB #722BAB
triadic
#322BAB #AB322B #2BAB32
tetradic
#322BAB #AB2B64 #A4AB2B #2BAB72
square
#322BAB #AB2B64 #A4AB2B #2BAB72
split-complementary
#322BAB #AB722B #64AB2B
monochromatic
#151249 #241F7A #322BAB #4B43D0 #7A74DC

Accessibility & contrast

On white

10.15
#322BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#322BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322BAB
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BAB#FFFFFF#000000##FFFFFF
##322BAB1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322bab;
/* rgb */ color: rgb(50, 43, 171);
/* oklch */ color: oklch(39.6% 0.194 275.3);
Tailwind
colors: {
  custom: {
    50: '#7c66c5',
    500: '#322bab',
    950: '#000000',
  },
}
SCSS
$custom: #322bab;
$custom-light: #7c66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#322bab",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 243.281,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.19384,
    "h": 275.3
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#322BAB
secondary
#BFC46E
accent
#E345DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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