#322C97#322C97

#322C97 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.167 H 277.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#322C97
RGBrgb(50, 44, 151)
HSLhsl(243, 55%, 38%)
HSVhsv(243, 71%, 59%)
CMYKcmyk(66.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(25.90, 36.67, -57.57)
CIE-LCHlch(25.90, 68.25, 302.50°)
OKLaboklab(37.68% 0.0209 -0.1662)
OKLCHoklch(37.68% 0.167 277.2)
XYZxyz(7.8002, 4.7132, 29.7708)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322C97 #91972C
analogous
#2C5C97 #322C97 #672C97
triadic
#322C97 #97322C #2C9732
tetradic
#322C97 #972C5C #91972C #2C9767
square
#322C97 #972C5C #91972C #2C9767
split-complementary
#322C97 #97672C #5C972C
monochromatic
#131038 #221E68 #322C97 #423AC6 #706AD4

Accessibility & contrast

On white

10.81
#322C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#322C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322C97
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322C97#FFFFFF#000000##FFFFFF
##322C971.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #322c97;
/* rgb */ color: rgb(50, 44, 151);
/* oklch */ color: oklch(37.7% 0.167 277.2);
Tailwind
colors: {
  custom: {
    50: '#7866b7',
    500: '#322c97',
    950: '#000000',
  },
}
SCSS
$custom: #322c97;
$custom-light: #7866b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322c97",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 243.364,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.16749,
    "h": 277.2
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#322C97
secondary
#B5BA65
accent
#DE4AD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322C97

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

Preview Lab → · Contrast checker → · Palette generator →

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