#322C99#322C99

#322C99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.170 H 277.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#322C99
RGBrgb(50, 44, 153)
HSLhsl(243, 55%, 39%)
HSVhsv(243, 71%, 60%)
CMYKcmyk(67.3%, 71.2%, 0%, 40%)
CIE-LABlab(26.09, 37.35, -58.47)
CIE-LCHlch(26.09, 69.39, 302.57°)
OKLaboklab(37.87% 0.0206 -0.1688)
OKLCHoklch(37.87% 0.17 277)
XYZxyz(7.9640, 4.7787, 30.6335)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322C99 #93992C
analogous
#2C5C99 #322C99 #682C99
triadic
#322C99 #99322C #2C9932
tetradic
#322C99 #992C5C #93992C #2C9968
square
#322C99 #992C5C #93992C #2C9968
split-complementary
#322C99 #99682C #5C992C
monochromatic
#13113A #221E69 #322C99 #433BC7 #716BD4

Accessibility & contrast

On white

10.74
#322C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#322C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322C99
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322C99#FFFFFF#000000##FFFFFF
##322C991.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #322c99;
/* rgb */ color: rgb(50, 44, 153);
/* oklch */ color: oklch(37.9% 0.170 277.0);
Tailwind
colors: {
  custom: {
    50: '#7866b8',
    500: '#322c99',
    950: '#000000',
  },
}
SCSS
$custom: #322c99;
$custom-light: #7866b8;
$custom-dark: #000000;
JSON
{
  "hex": "#322c99",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 243.303,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.17009,
    "h": 277
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#322C99
secondary
#B7BB66
accent
#DF49D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322C99

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

Preview Lab → · Contrast checker → · Palette generator →

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