#3221B2#3221B2

#3221B2 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.1% C 0.211 H 275.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3221B2
RGBrgb(50, 33, 178)
HSLhsl(247, 69%, 41%)
HSVhsv(247, 81%, 70%)
CMYKcmyk(71.9%, 81.5%, 0%, 30.2%)
CIE-LABlab(26.68, 51.25, -72.64)
CIE-LCHlch(26.68, 88.90, 305.20°)
OKLaboklab(39.07% 0.0207 -0.21)
OKLCHoklch(39.07% 0.211 275.6)
XYZxyz(9.8925, 4.9792, 42.5506)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221B2 #A1B221
analogous
#2159B2 #3221B2 #7B21B2
triadic
#3221B2 #B23221 #21B232
tetradic
#3221B2 #B22159 #A1B221 #21B27B
square
#3221B2 #B22159 #A1B221 #21B27B
split-complementary
#3221B2 #B27B21 #59B221
monochromatic
#150E4B #23177E #3221B2 #4A36DA #786AE3

Accessibility & contrast

On white

10.52
#3221B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3221B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221B2
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221B2#FFFFFF#000000##FFFFFF
##3221B21.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0039B0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3221b2;
/* rgb */ color: rgb(50, 33, 178);
/* oklch */ color: oklch(39.1% 0.211 275.6);
Tailwind
colors: {
  custom: {
    50: '#7f61ca',
    500: '#3221b2',
    950: '#000000',
  },
}
SCSS
$custom: #3221b2;
$custom-light: #7f61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3221b2",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 247.034,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.21102,
    "h": 275.6
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#3221B2
secondary
#BEC966
accent
#EC3CD7
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3221B2

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

Preview Lab → · Contrast checker → · Palette generator →

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