#322196#322196

#322196 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.178 H 279.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#322196
RGBrgb(50, 33, 150)
HSLhsl(249, 64%, 36%)
HSVhsv(249, 78%, 59%)
CMYKcmyk(66.7%, 78%, 0%, 41.2%)
CIE-LABlab(23.56, 42.61, -60.80)
CIE-LCHlch(23.56, 74.25, 305.02°)
OKLaboklab(35.99% 0.0284 -0.1756)
OKLCHoklch(35.99% 0.178 279.2)
XYZxyz(7.3625, 3.9672, 29.2260)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322196 #859621
analogous
#214A96 #322196 #6C2196
triadic
#322196 #963221 #219632
tetradic
#322196 #96214A #859621 #21966C
square
#322196 #96214A #859621 #21966C
split-complementary
#322196 #966C21 #4A9621
monochromatic
#110B32 #211664 #322196 #432CC8 #6A57DA

Accessibility & contrast

On white

11.71
#322196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#322196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322196
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322196#FFFFFF#000000##FFFFFF
##3221961.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.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: #322196;
/* rgb */ color: rgb(50, 33, 150);
/* oklch */ color: oklch(36.0% 0.178 279.2);
Tailwind
colors: {
  custom: {
    50: '#785fb6',
    500: '#322196',
    950: '#000000',
  },
}
SCSS
$custom: #322196;
$custom-light: #785fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#322196",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 248.718,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35986,
    "c": 0.17784,
    "h": 279.2
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#322196
secondary
#AFBE55
accent
#E741CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322196

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

Preview Lab → · Contrast checker → · Palette generator →

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