#322AB8#322AB8

#322AB8 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.210 H 274.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#322AB8
RGBrgb(50, 42, 184)
HSLhsl(243, 63%, 44%)
HSVhsv(243, 77%, 72%)
CMYKcmyk(72.8%, 77.2%, 0%, 27.8%)
CIE-LABlab(28.89, 48.64, -72.56)
CIE-LCHlch(28.89, 87.36, 303.84°)
OKLaboklab(40.81% 0.0156 -0.2099)
OKLCHoklch(40.81% 0.21 274.2)
XYZxyz(10.7922, 5.7937, 45.8876)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322AB8 #B0B82A
analogous
#2A69B8 #322AB8 #792AB8
triadic
#322AB8 #B8322A #2AB832
tetradic
#322AB8 #B82A69 #B0B82A #2AB879
square
#322AB8 #B82A69 #B0B82A #2AB879
split-complementary
#322AB8 #B8792A #69B82A
monochromatic
#171354 #241F86 #322AB8 #514AD6 #817BE1

Accessibility & contrast

On white

9.73
#322AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#322AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322AB8
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322AB8#FFFFFF#000000##FFFFFF
##322AB81.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #322ab8;
/* rgb */ color: rgb(50, 42, 184);
/* oklch */ color: oklch(40.8% 0.210 274.2);
Tailwind
colors: {
  custom: {
    50: '#7f66cf',
    500: '#322ab8',
    950: '#000000',
  },
}
SCSS
$custom: #322ab8;
$custom-light: #7f66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#322ab8",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 243.38,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.21046,
    "h": 274.2
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#322AB8
secondary
#C4C975
accent
#E642DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #322AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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