#322CA5#322CA5

#322CA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.185 H 275.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#322CA5
RGBrgb(50, 44, 165)
HSLhsl(243, 58%, 41%)
HSVhsv(243, 73%, 65%)
CMYKcmyk(69.7%, 73.3%, 0%, 35.3%)
CIE-LABlab(27.28, 41.37, -63.82)
CIE-LCHlch(27.28, 76.06, 302.95°)
OKLaboklab(39.08% 0.0185 -0.1844)
OKLCHoklch(39.08% 0.185 275.7)
XYZxyz(9.0054, 5.1953, 36.1182)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322CA5 #9FA52C
analogous
#2C62A5 #322CA5 #6E2CA5
triadic
#322CA5 #A5322C #2CA532
tetradic
#322CA5 #A52C62 #9FA52C #2CA56E
square
#322CA5 #A52C62 #9FA52C #2CA56E
split-complementary
#322CA5 #A56E2C #62A52C
monochromatic
#151244 #231F75 #322CA5 #4942CD #7772D9

Accessibility & contrast

On white

10.30
#322CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322CA5
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322CA5#FFFFFF#000000##FFFFFF
##322CA51.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ca5;
/* rgb */ color: rgb(50, 44, 165);
/* oklch */ color: oklch(39.1% 0.185 275.7);
Tailwind
colors: {
  custom: {
    50: '#7b67c1',
    500: '#322ca5',
    950: '#000000',
  },
}
SCSS
$custom: #322ca5;
$custom-light: #7b67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#322ca5",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 242.975,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.18537,
    "h": 275.7
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#322CA5
secondary
#BDC16C
accent
#E147D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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