#322099#322099

#322099 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.182 H 278.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#322099
RGBrgb(50, 32, 153)
HSLhsl(249, 65%, 36%)
HSVhsv(249, 79%, 60%)
CMYKcmyk(67.3%, 79.1%, 0%, 40%)
CIE-LABlab(23.71, 44.07, -62.41)
CIE-LCHlch(23.71, 76.40, 305.23°)
OKLaboklab(36.18% 0.0281 -0.1802)
OKLCHoklch(36.18% 0.182 278.9)
XYZxyz(7.5798, 4.0104, 30.5055)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322099 #879920
analogous
#204B99 #322099 #6F2099
triadic
#322099 #993220 #209932
tetradic
#322099 #99204B #879920 #20996F
square
#322099 #99204B #879920 #20996F
split-complementary
#322099 #996F20 #4B9920
monochromatic
#110B34 #211566 #322099 #432BCC #6B57DC

Accessibility & contrast

On white

11.65
#322099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#322099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322099
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322099#FFFFFF#000000##FFFFFF
##3220991.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322099;
/* rgb */ color: rgb(50, 32, 153);
/* oklch */ color: oklch(36.2% 0.182 278.9);
Tailwind
colors: {
  custom: {
    50: '#795fb8',
    500: '#322099',
    950: '#000000',
  },
}
SCSS
$custom: #322099;
$custom-light: #795fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#322099",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 248.926,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.18242,
    "h": 278.9
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#322099
secondary
#B0C055
accent
#E83FCF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #322099

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

Preview Lab → · Contrast checker → · Palette generator →

#322099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva