#322189#322189

#322189 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.162 H 281.3°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#322189
RGBrgb(50, 33, 137)
HSLhsl(250, 61%, 33%)
HSVhsv(250, 76%, 54%)
CMYKcmyk(63.5%, 75.9%, 0%, 46.3%)
CIE-LABlab(22.20, 38.47, -54.98)
CIE-LCHlch(22.20, 67.10, 304.98°)
OKLaboklab(34.62% 0.0317 -0.1586)
OKLCHoklch(34.62% 0.162 281.3)
XYZxyz(6.3732, 3.5715, 24.0156)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322189 #788921
analogous
#214489 #322189 #662189
triadic
#322189 #893221 #218932
tetradic
#322189 #892144 #788921 #218966
square
#322189 #892144 #788921 #218966
split-complementary
#322189 #896621 #448921
monochromatic
#0E0926 #201558 #322189 #442DBA #6550D5

Accessibility & contrast

On white

12.25
#322189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#322189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322189
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322189#FFFFFF#000000##FFFFFF
##3221891.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #322189;
/* rgb */ color: rgb(50, 33, 137);
/* oklch */ color: oklch(34.6% 0.162 281.3);
Tailwind
colors: {
  custom: {
    50: '#765fac',
    500: '#322189',
    950: '#000000',
  },
}
SCSS
$custom: #322189;
$custom-light: #765fac;
$custom-dark: #000000;
JSON
{
  "hex": "#322189",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 249.808,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34619,
    "c": 0.16169,
    "h": 281.3
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#322189
secondary
#A7B84E
accent
#E444CA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322189

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

Preview Lab → · Contrast checker → · Palette generator →

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