#3221B4#3221B4

#3221B4 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.3% C 0.213 H 275.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3221B4
RGBrgb(50, 33, 180)
HSLhsl(247, 69%, 42%)
HSVhsv(247, 82%, 71%)
CMYKcmyk(72.2%, 81.7%, 0%, 29.4%)
CIE-LABlab(26.91, 51.85, -73.46)
CIE-LCHlch(26.91, 89.91, 305.22°)
OKLaboklab(39.3% 0.0202 -0.2124)
OKLCHoklch(39.3% 0.213 275.4)
XYZxyz(10.0948, 5.0601, 43.6159)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221B4 #A3B421
analogous
#215AB4 #3221B4 #7C21B4
triadic
#3221B4 #B43221 #21B432
tetradic
#3221B4 #B4215A #A3B421 #21B47C
square
#3221B4 #B4215A #A3B421 #21B47C
split-complementary
#3221B4 #B47C21 #5AB421
monochromatic
#150E4D #241880 #3221B4 #4B38DA #796BE4

Accessibility & contrast

On white

10.44
#3221B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3221B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221B4
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221B4#FFFFFF#000000##FFFFFF
##3221B41.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#0039B2
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3221b4;
/* rgb */ color: rgb(50, 33, 180);
/* oklch */ color: oklch(39.3% 0.213 275.4);
Tailwind
colors: {
  custom: {
    50: '#7f61cc',
    500: '#3221b4',
    950: '#000000',
  },
}
SCSS
$custom: #3221b4;
$custom-light: #7f61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3221b4",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 246.939,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.21332,
    "h": 275.4
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#3221B4
secondary
#BFCA67
accent
#EC3CD8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3221B4

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

Preview Lab → · Contrast checker → · Palette generator →

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