#322EA1#322EA1

#322EA1 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.178 H 275.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#322EA1
RGBrgb(50, 46, 161)
HSLhsl(242, 56%, 41%)
HSVhsv(242, 71%, 63%)
CMYKcmyk(68.9%, 71.4%, 0%, 36.9%)
CIE-LABlab(27.31, 38.86, -61.35)
CIE-LCHlch(27.31, 72.62, 302.35°)
OKLaboklab(38.98% 0.0179 -0.1773)
OKLCHoklch(38.98% 0.178 275.8)
XYZxyz(8.7233, 5.2045, 34.2562)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EA1 #9DA12E
analogous
#2E63A1 #322EA1 #6B2EA1
triadic
#322EA1 #A1322E #2EA132
tetradic
#322EA1 #A12E63 #9DA12E #2EA16B
square
#322EA1 #A12E63 #9DA12E #2EA16B
split-complementary
#322EA1 #A16B2E #63A12E
monochromatic
#141342 #232071 #322EA1 #4843C9 #7673D7

Accessibility & contrast

On white

10.29
#322EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#322EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322EA1
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EA1#FFFFFF#000000##FFFFFF
##322EA11.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ea1;
/* rgb */ color: rgb(50, 46, 161);
/* oklch */ color: oklch(39.0% 0.178 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a68be',
    500: '#322ea1',
    950: '#000000',
  },
}
SCSS
$custom: #322ea1;
$custom-light: #7a68be;
$custom-dark: #000000;
JSON
{
  "hex": "#322ea1",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 242.087,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38981,
    "c": 0.17816,
    "h": 275.8
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#322EA1
secondary
#BCBE6C
accent
#DF49DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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