#322D99#322D99

#322D99 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.169 H 276.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#322D99
RGBrgb(50, 45, 153)
HSLhsl(243, 55%, 39%)
HSVhsv(243, 71%, 60%)
CMYKcmyk(67.3%, 70.6%, 0%, 40%)
CIE-LABlab(26.32, 36.75, -58.11)
CIE-LCHlch(26.32, 68.76, 302.31°)
OKLaboklab(38.03% 0.0199 -0.1678)
OKLCHoklch(38.03% 0.169 276.8)
XYZxyz(8.0017, 4.8541, 30.6461)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322D99 #94992D
analogous
#2D5E99 #322D99 #682D99
triadic
#322D99 #99322D #2D9932
tetradic
#322D99 #992D5E #94992D #2D9968
square
#322D99 #992D5E #94992D #2D9968
split-complementary
#322D99 #99682D #5E992D
monochromatic
#13113A #231F6A #322D99 #443DC6 #716CD4

Accessibility & contrast

On white

10.65
#322D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322D99
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322D99#FFFFFF#000000##FFFFFF
##322D991.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #322d99;
/* rgb */ color: rgb(50, 45, 153);
/* oklch */ color: oklch(38.0% 0.169 276.8);
Tailwind
colors: {
  custom: {
    50: '#7867b8',
    500: '#322d99',
    950: '#000000',
  },
}
SCSS
$custom: #322d99;
$custom-light: #7867b8;
$custom-dark: #000000;
JSON
{
  "hex": "#322d99",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 242.778,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38032,
    "c": 0.16895,
    "h": 276.8
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#322D99
secondary
#B7BB67
accent
#DE4AD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322D99

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

Preview Lab → · Contrast checker → · Palette generator →

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