#322CA7#322CA7

#322CA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.188 H 275.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#322CA7
RGBrgb(50, 44, 167)
HSLhsl(243, 58%, 41%)
HSVhsv(243, 74%, 65%)
CMYKcmyk(70.1%, 73.7%, 0%, 34.5%)
CIE-LABlab(27.49, 42.04, -64.69)
CIE-LCHlch(27.49, 77.15, 303.01°)
OKLaboklab(39.29% 0.0181 -0.187)
OKLCHoklch(39.29% 0.188 275.5)
XYZxyz(9.1888, 5.2686, 37.0844)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322CA7 #A1A72C
analogous
#2C64A7 #322CA7 #702CA7
triadic
#322CA7 #A7322C #2CA732
tetradic
#322CA7 #A72C64 #A1A72C #2CA770
square
#322CA7 #A72C64 #A1A72C #2CA770
split-complementary
#322CA7 #A7702C #64A72C
monochromatic
#151246 #231F77 #322CA7 #4A43CD #7873DA

Accessibility & contrast

On white

10.22
#322CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#322CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322CA7
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322CA7#FFFFFF#000000##FFFFFF
##322CA71.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322ca7;
/* rgb */ color: rgb(50, 44, 167);
/* oklch */ color: oklch(39.3% 0.188 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b67c2',
    500: '#322ca7',
    950: '#000000',
  },
}
SCSS
$custom: #322ca7;
$custom-light: #7b67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#322ca7",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 242.927,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.18787,
    "h": 275.5
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#322CA7
secondary
#BEC26D
accent
#E246DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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