#322CA8#322CA8

#322CA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.189 H 275.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#322CA8
RGBrgb(50, 44, 168)
HSLhsl(243, 58%, 42%)
HSVhsv(243, 74%, 66%)
CMYKcmyk(70.2%, 73.8%, 0%, 34.1%)
CIE-LABlab(27.59, 42.37, -65.13)
CIE-LCHlch(27.59, 77.70, 303.04°)
OKLaboklab(39.39% 0.0179 -0.1883)
OKLCHoklch(39.39% 0.189 275.4)
XYZxyz(9.2816, 5.3058, 37.5732)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322CA8 #A2A82C
analogous
#2C64A8 #322CA8 #702CA8
triadic
#322CA8 #A8322C #2CA832
tetradic
#322CA8 #A82C64 #A2A82C #2CA870
square
#322CA8 #A82C64 #A2A82C #2CA870
split-complementary
#322CA8 #A8702C #64A82C
monochromatic
#151347 #241F78 #322CA8 #4A43CE #7974DB

Accessibility & contrast

On white

10.19
#322CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#322CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322CA8
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322CA8#FFFFFF#000000##FFFFFF
##322CA81.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322ca8;
/* rgb */ color: rgb(50, 44, 168);
/* oklch */ color: oklch(39.4% 0.189 275.4);
Tailwind
colors: {
  custom: {
    50: '#7b67c3',
    500: '#322ca8',
    950: '#000000',
  },
}
SCSS
$custom: #322ca8;
$custom-light: #7b67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#322ca8",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 242.903,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39391,
    "c": 0.18912,
    "h": 275.4
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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