#322199#322199

#322199 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.181 H 278.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#322199
RGBrgb(50, 33, 153)
HSLhsl(249, 65%, 36%)
HSVhsv(249, 78%, 60%)
CMYKcmyk(67.3%, 78.4%, 0%, 40%)
CIE-LABlab(23.89, 43.56, -62.11)
CIE-LCHlch(23.89, 75.86, 305.04°)
OKLaboklab(36.31% 0.0276 -0.1794)
OKLCHoklch(36.31% 0.181 278.7)
XYZxyz(7.6072, 4.0651, 30.5146)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322199 #889921
analogous
#214C99 #322199 #6E2199
triadic
#322199 #993221 #219932
tetradic
#322199 #99214C #889921 #21996E
square
#322199 #99214C #889921 #21996E
split-complementary
#322199 #996E21 #4C9921
monochromatic
#110B34 #221667 #322199 #422CCB #6C59DB

Accessibility & contrast

On white

11.58
#322199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#322199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322199
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322199#FFFFFF#000000##FFFFFF
##3221991.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322199;
/* rgb */ color: rgb(50, 33, 153);
/* oklch */ color: oklch(36.3% 0.181 278.7);
Tailwind
colors: {
  custom: {
    50: '#795fb8',
    500: '#322199',
    950: '#000000',
  },
}
SCSS
$custom: #322199;
$custom-light: #795fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#322199",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 248.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36308,
    "c": 0.18149,
    "h": 278.7
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#322199
secondary
#B0BF56
accent
#E840D0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #322199

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

Preview Lab → · Contrast checker → · Palette generator →

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