#322096#322096

#322096 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.179 H 279.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#322096
RGBrgb(50, 32, 150)
HSLhsl(249, 65%, 36%)
HSVhsv(249, 79%, 59%)
CMYKcmyk(66.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(23.38, 43.13, -61.10)
CIE-LCHlch(23.38, 74.79, 305.22°)
OKLaboklab(35.86% 0.0289 -0.1764)
OKLCHoklch(35.86% 0.179 279.3)
XYZxyz(7.3352, 3.9125, 29.2169)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322096 #849620
analogous
#204996 #322096 #6D2096
triadic
#322096 #963220 #209632
tetradic
#322096 #962049 #849620 #20966D
square
#322096 #962049 #849620 #20966D
split-complementary
#322096 #966D20 #499620
monochromatic
#100A31 #211564 #322096 #432BC8 #6A56DB

Accessibility & contrast

On white

11.78
#322096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#322096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322096
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322096#FFFFFF#000000##FFFFFF
##3220961.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322096;
/* rgb */ color: rgb(50, 32, 150);
/* oklch */ color: oklch(35.9% 0.179 279.3);
Tailwind
colors: {
  custom: {
    50: '#785fb6',
    500: '#322096',
    950: '#000000',
  },
}
SCSS
$custom: #322096;
$custom-light: #785fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#322096",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 249.153,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.17879,
    "h": 279.3
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#322096
secondary
#AEBE53
accent
#E840CE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322096

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

Preview Lab → · Contrast checker → · Palette generator →

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