#322C9B#322C9B

#322C9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.173 H 276.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#322C9B
RGBrgb(50, 44, 155)
HSLhsl(243, 56%, 39%)
HSVhsv(243, 72%, 61%)
CMYKcmyk(67.7%, 71.6%, 0%, 39.2%)
CIE-LABlab(26.29, 38.03, -59.38)
CIE-LCHlch(26.29, 70.51, 302.64°)
OKLaboklab(38.07% 0.0203 -0.1715)
OKLCHoklch(38.07% 0.173 276.7)
XYZxyz(8.1305, 4.8453, 31.5108)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322C9B #959B2C
analogous
#2C5E9B #322C9B #6A2C9B
triadic
#322C9B #9B322C #2C9B32
tetradic
#322C9B #9B2C5E #959B2C #2C9B6A
square
#322C9B #9B2C5E #959B2C #2C9B6A
split-complementary
#322C9B #9B6A2C #5E9B2C
monochromatic
#13113C #231E6B #322C9B #443CC8 #726CD5

Accessibility & contrast

On white

10.66
#322C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#322C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322C9B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322C9B#FFFFFF#000000##FFFFFF
##322C9B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #322c9b;
/* rgb */ color: rgb(50, 44, 155);
/* oklch */ color: oklch(38.1% 0.173 276.7);
Tailwind
colors: {
  custom: {
    50: '#7966ba',
    500: '#322c9b',
    950: '#000000',
  },
}
SCSS
$custom: #322c9b;
$custom-light: #7966ba;
$custom-dark: #000000;
JSON
{
  "hex": "#322c9b",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 243.243,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.17267,
    "h": 276.7
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#322C9B
secondary
#B8BC67
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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