#322D9B#322D9B

#322D9B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.172 H 276.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#322D9B
RGBrgb(50, 45, 155)
HSLhsl(243, 55%, 39%)
HSVhsv(243, 71%, 61%)
CMYKcmyk(67.7%, 71%, 0%, 39.2%)
CIE-LABlab(26.51, 37.43, -59.02)
CIE-LCHlch(26.51, 69.89, 302.38°)
OKLaboklab(38.23% 0.0196 -0.1704)
OKLCHoklch(38.23% 0.172 276.6)
XYZxyz(8.1682, 4.9207, 31.5233)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322D9B #969B2D
analogous
#2D5F9B #322D9B #692D9B
triadic
#322D9B #9B322D #2D9B32
tetradic
#322D9B #9B2D5F #969B2D #2D9B69
square
#322D9B #9B2D5F #969B2D #2D9B69
split-complementary
#322D9B #9B692D #5F9B2D
monochromatic
#13113C #231F6C #322D9B #443EC7 #726ED5

Accessibility & contrast

On white

10.58
#322D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#322D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322D9B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322D9B#FFFFFF#000000##FFFFFF
##322D9B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #322d9b;
/* rgb */ color: rgb(50, 45, 155);
/* oklch */ color: oklch(38.2% 0.172 276.6);
Tailwind
colors: {
  custom: {
    50: '#7867ba',
    500: '#322d9b',
    950: '#000000',
  },
}
SCSS
$custom: #322d9b;
$custom-light: #7867ba;
$custom-dark: #000000;
JSON
{
  "hex": "#322d9b",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 242.727,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38229,
    "c": 0.17156,
    "h": 276.6
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#322D9B
secondary
#B8BC68
accent
#DE49D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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