#3221A4#3221A4

#3221A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.5% C 0.195 H 277.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#3221A4
RGBrgb(50, 33, 164)
HSLhsl(248, 66%, 39%)
HSVhsv(248, 80%, 64%)
CMYKcmyk(69.5%, 79.9%, 0%, 35.7%)
CIE-LABlab(25.09, 46.98, -66.83)
CIE-LCHlch(25.09, 81.69, 305.11°)
OKLaboklab(37.51% 0.0246 -0.1931)
OKLCHoklch(37.51% 0.195 277.3)
XYZxyz(8.5579, 4.4454, 35.5218)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221A4 #93A421
analogous
#2151A4 #3221A4 #7321A4
triadic
#3221A4 #A43221 #21A432
tetradic
#3221A4 #A42151 #93A421 #21A473
square
#3221A4 #A42151 #93A421 #21A473
split-complementary
#3221A4 #A47321 #51A421
monochromatic
#130C3E #221771 #3221A4 #432DD5 #7160DF

Accessibility & contrast

On white

11.12
#3221A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3221A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221A4
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221A4#FFFFFF#000000##FFFFFF
##3221A41.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3221a4;
/* rgb */ color: rgb(50, 33, 164);
/* oklch */ color: oklch(37.5% 0.195 277.3);
Tailwind
colors: {
  custom: {
    50: '#7b60c0',
    500: '#3221a4',
    950: '#000000',
  },
}
SCSS
$custom: #3221a4;
$custom-light: #7b60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3221a4",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 247.786,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.19468,
    "h": 277.3
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#3221A4
secondary
#B7C45D
accent
#E93ED3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3221A4

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

Preview Lab → · Contrast checker → · Palette generator →

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