#322399#322399

#322399 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.180 H 278.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#322399
RGBrgb(50, 35, 153)
HSLhsl(248, 63%, 37%)
HSVhsv(248, 77%, 60%)
CMYKcmyk(67.3%, 77.1%, 0%, 40%)
CIE-LABlab(24.26, 42.50, -61.50)
CIE-LCHlch(24.26, 74.76, 304.64°)
OKLaboklab(36.57% 0.0264 -0.1776)
OKLCHoklch(36.57% 0.18 278.5)
XYZxyz(7.6643, 4.1794, 30.5336)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322399 #8A9923
analogous
#234F99 #322399 #6D2399
triadic
#322399 #993223 #239932
tetradic
#322399 #99234F #8A9923 #23996D
square
#322399 #99234F #8A9923 #23996D
split-complementary
#322399 #996D23 #4F9923
monochromatic
#110C35 #221867 #322399 #422ECB #6C5DDA

Accessibility & contrast

On white

11.44
#322399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#322399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322399
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322399#FFFFFF#000000##FFFFFF
##3223991.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322399;
/* rgb */ color: rgb(50, 35, 153);
/* oklch */ color: oklch(36.6% 0.180 278.5);
Tailwind
colors: {
  custom: {
    50: '#7961b8',
    500: '#322399',
    950: '#000000',
  },
}
SCSS
$custom: #322399;
$custom-light: #7961b8;
$custom-dark: #000000;
JSON
{
  "hex": "#322399",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 247.627,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36568,
    "c": 0.17958,
    "h": 278.5
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#322399
secondary
#B2BE59
accent
#E642D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #322399

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

Preview Lab → · Contrast checker → · Palette generator →

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