#3221B3#3221B3

#3221B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.212 H 275.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3221B3
RGBrgb(50, 33, 179)
HSLhsl(247, 69%, 42%)
HSVhsv(247, 82%, 70%)
CMYKcmyk(72.1%, 81.6%, 0%, 29.8%)
CIE-LABlab(26.79, 51.55, -73.05)
CIE-LCHlch(26.79, 89.41, 305.21°)
OKLaboklab(39.18% 0.0205 -0.2112)
OKLCHoklch(39.18% 0.212 275.5)
XYZxyz(9.9933, 5.0195, 43.0813)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221B3 #A2B321
analogous
#2159B3 #3221B3 #7B21B3
triadic
#3221B3 #B33221 #21B332
tetradic
#3221B3 #B32159 #A2B321 #21B37B
square
#3221B3 #B32159 #A2B321 #21B37B
split-complementary
#3221B3 #B37B21 #59B321
monochromatic
#150E4C #24177F #3221B3 #4A37DA #796BE4

Accessibility & contrast

On white

10.48
#3221B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3221B3
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221B3#FFFFFF#000000##FFFFFF
##3221B31.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3221b3;
/* rgb */ color: rgb(50, 33, 179);
/* oklch */ color: oklch(39.2% 0.212 275.5);
Tailwind
colors: {
  custom: {
    50: '#7f61cb',
    500: '#3221b3',
    950: '#000000',
  },
}
SCSS
$custom: #3221b3;
$custom-light: #7f61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3221b3",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 246.986,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.21217,
    "h": 275.5
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3221B3

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

Preview Lab → · Contrast checker → · Palette generator →

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