#322699#322699

#322699 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.177 H 278.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#322699
RGBrgb(50, 38, 153)
HSLhsl(246, 60%, 37%)
HSVhsv(246, 75%, 60%)
CMYKcmyk(67.3%, 75.2%, 0%, 40%)
CIE-LABlab(24.84, 40.85, -60.54)
CIE-LCHlch(24.84, 73.03, 304.01°)
OKLaboklab(36.98% 0.0246 -0.1748)
OKLCHoklch(36.98% 0.177 278)
XYZxyz(7.7564, 4.3636, 30.5643)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322699 #8D9926
analogous
#265399 #322699 #6C2699
triadic
#322699 #993226 #269932
tetradic
#322699 #992653 #8D9926 #26996C
square
#322699 #992653 #8D9926 #26996C
split-complementary
#322699 #996C26 #539926
monochromatic
#120E37 #221A68 #322699 #4232CA #6E62D8

Accessibility & contrast

On white

11.21
#322699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#322699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322699
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322699#FFFFFF#000000##FFFFFF
##3226991.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322699;
/* rgb */ color: rgb(50, 38, 153);
/* oklch */ color: oklch(37.0% 0.177 278.0);
Tailwind
colors: {
  custom: {
    50: '#7962b8',
    500: '#322699',
    950: '#000000',
  },
}
SCSS
$custom: #322699;
$custom-light: #7962b8;
$custom-dark: #000000;
JSON
{
  "hex": "#322699",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 246.261,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36979,
    "c": 0.17657,
    "h": 278
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#322699
secondary
#B3BD5E
accent
#E344D3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322699

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

Preview Lab → · Contrast checker → · Palette generator →

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