#322BA1#322BA1

#322BA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.181 H 276.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#322BA1
RGBrgb(50, 43, 161)
HSLhsl(244, 58%, 40%)
HSVhsv(244, 73%, 63%)
CMYKcmyk(68.9%, 73.3%, 0%, 36.9%)
CIE-LABlab(26.67, 40.62, -62.40)
CIE-LCHlch(26.67, 74.46, 303.06°)
OKLaboklab(38.53% 0.0198 -0.1803)
OKLCHoklch(38.53% 0.181 276.3)
XYZxyz(8.6102, 4.9783, 34.2185)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BA1 #9AA12B
analogous
#2B5FA1 #322BA1 #6D2BA1
triadic
#322BA1 #A1322B #2BA132
tetradic
#322BA1 #A12B5F #9AA12B #2BA16D
square
#322BA1 #A12B5F #9AA12B #2BA16D
split-complementary
#322BA1 #A16D2B #5FA12B
monochromatic
#141140 #231E71 #322BA1 #463ECB #746ED8

Accessibility & contrast

On white

10.52
#322BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#322BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322BA1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BA1#FFFFFF#000000##FFFFFF
##322BA11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #322ba1;
/* rgb */ color: rgb(50, 43, 161);
/* oklch */ color: oklch(38.5% 0.181 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a66be',
    500: '#322ba1',
    950: '#000000',
  },
}
SCSS
$custom: #322ba1;
$custom-light: #7a66be;
$custom-dark: #000000;
JSON
{
  "hex": "#322ba1",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 243.559,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.1814,
    "h": 276.3
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#322BA1
secondary
#BABF69
accent
#E147D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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