#3221A2#3221A2

#3221A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.192 H 277.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#3221A2
RGBrgb(50, 33, 162)
HSLhsl(248, 66%, 38%)
HSVhsv(248, 80%, 64%)
CMYKcmyk(69.1%, 79.6%, 0%, 36.5%)
CIE-LABlab(24.87, 46.36, -65.99)
CIE-LCHlch(24.87, 80.64, 305.09°)
OKLaboklab(37.29% 0.0251 -0.1907)
OKLCHoklch(37.29% 0.192 277.5)
XYZxyz(8.3787, 4.3737, 34.5781)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221A2 #91A221
analogous
#2150A2 #3221A2 #7221A2
triadic
#3221A2 #A23221 #21A232
tetradic
#3221A2 #A22150 #91A221 #21A272
square
#3221A2 #A22150 #91A221 #21A272
split-complementary
#3221A2 #A27221 #50A221
monochromatic
#130C3C #22176F #3221A2 #422CD4 #705FDE

Accessibility & contrast

On white

11.20
#3221A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3221A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221A2
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221A2#FFFFFF#000000##FFFFFF
##3221A21.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3221a2;
/* rgb */ color: rgb(50, 33, 162);
/* oklch */ color: oklch(37.3% 0.192 277.5);
Tailwind
colors: {
  custom: {
    50: '#7b60bf',
    500: '#3221a2',
    950: '#000000',
  },
}
SCSS
$custom: #3221a2;
$custom-light: #7b60bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3221a2",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 247.907,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37287,
    "c": 0.19231,
    "h": 277.5
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#3221A2
secondary
#B5C35C
accent
#E93FD3
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3221A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3221A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva