#3221C1#3221C1

#3221C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.8% C 0.228 H 274.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3221C1
RGBrgb(50, 33, 193)
HSLhsl(246, 71%, 44%)
HSVhsv(246, 83%, 76%)
CMYKcmyk(74.1%, 82.9%, 0%, 24.3%)
CIE-LABlab(28.42, 55.71, -78.66)
CIE-LCHlch(28.42, 96.38, 305.31°)
OKLaboklab(40.78% 0.0166 -0.2274)
OKLCHoklch(40.78% 0.228 274.2)
XYZxyz(11.4817, 5.6149, 50.9204)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221C1 #B0C121
analogous
#2160C1 #3221C1 #8221C1
triadic
#3221C1 #C13221 #21C132
tetradic
#3221C1 #C12160 #B0C121 #21C182
square
#3221C1 #C12160 #B0C121 #21C182
split-complementary
#3221C1 #C18221 #60C121
monochromatic
#170F58 #24188D #3221C1 #5141DE #8175E7

Accessibility & contrast

On white

9.89
#3221C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3221C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221C1
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221C1#FFFFFF#000000##FFFFFF
##3221C11.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3221c1;
/* rgb */ color: rgb(50, 33, 193);
/* oklch */ color: oklch(40.8% 0.228 274.2);
Tailwind
colors: {
  custom: {
    50: '#8262d5',
    500: '#3221c1',
    950: '#000000',
  },
}
SCSS
$custom: #3221c1;
$custom-light: #8262d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3221c1",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 193
  },
  "hsl": {
    "h": 246.375,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.22804,
    "h": 274.2
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#3221C1
secondary
#C4CF6F
accent
#EE3ADB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3221C1

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

Preview Lab → · Contrast checker → · Palette generator →

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