#3221AC#3221AC

#3221AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.204 H 276.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3221AC
RGBrgb(50, 33, 172)
HSLhsl(247, 68%, 40%)
HSVhsv(247, 81%, 67%)
CMYKcmyk(70.9%, 80.8%, 0%, 32.5%)
CIE-LABlab(25.99, 49.43, -70.18)
CIE-LCHlch(25.99, 85.84, 305.16°)
OKLaboklab(38.4% 0.0224 -0.2028)
OKLCHoklch(38.4% 0.204 276.3)
XYZxyz(9.3032, 4.7435, 39.4470)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221AC #9BAC21
analogous
#2156AC #3221AC #7721AC
triadic
#3221AC #AC3221 #21AC32
tetradic
#3221AC #AC2156 #9BAC21 #21AC77
square
#3221AC #AC2156 #9BAC21 #21AC77
split-complementary
#3221AC #AC7721 #56AC21
monochromatic
#140D45 #231779 #3221AC #4732D8 #7566E2

Accessibility & contrast

On white

10.78
#3221AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3221AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221AC
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221AC#FFFFFF#000000##FFFFFF
##3221AC1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3221ac;
/* rgb */ color: rgb(50, 33, 172);
/* oklch */ color: oklch(38.4% 0.204 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d61c6',
    500: '#3221ac',
    950: '#000000',
  },
}
SCSS
$custom: #3221ac;
$custom-light: #7d61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3221ac",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 247.338,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.20407,
    "h": 276.3
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#3221AC
secondary
#BBC762
accent
#EB3DD5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3221AC

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

Preview Lab → · Contrast checker → · Palette generator →

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