#3221BD#3221BD

#3221BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.3% C 0.224 H 274.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3221BD
RGBrgb(50, 33, 189)
HSLhsl(247, 70%, 44%)
HSVhsv(247, 83%, 74%)
CMYKcmyk(73.5%, 82.5%, 0%, 25.9%)
CIE-LABlab(27.95, 54.53, -77.07)
CIE-LCHlch(27.95, 94.41, 305.28°)
OKLaboklab(40.32% 0.0177 -0.2228)
OKLCHoklch(40.32% 0.224 274.5)
XYZxyz(11.0415, 5.4388, 48.6021)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221BD #ACBD21
analogous
#215EBD #3221BD #8021BD
triadic
#3221BD #BD3221 #21BD32
tetradic
#3221BD #BD215E #ACBD21 #21BD80
square
#3221BD #BD215E #ACBD21 #21BD80
split-complementary
#3221BD #BD8021 #5EBD21
monochromatic
#160F55 #241889 #3221BD #4F3EDD #7F72E6

Accessibility & contrast

On white

10.06
#3221BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3221BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221BD
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221BD#FFFFFF#000000##FFFFFF
##3221BD1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3221bd;
/* rgb */ color: rgb(50, 33, 189);
/* oklch */ color: oklch(40.3% 0.224 274.5);
Tailwind
colors: {
  custom: {
    50: '#8162d2',
    500: '#3221bd',
    950: '#000000',
  },
}
SCSS
$custom: #3221bd;
$custom-light: #8162d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3221bd",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 246.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.22355,
    "h": 274.5
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#3221BD
secondary
#C3CD6D
accent
#ED3BDA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #3221BD

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

Preview Lab → · Contrast checker → · Palette generator →

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