#3221AA#3221AA

#3221AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.202 H 276.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3221AA
RGBrgb(50, 33, 170)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 81%, 67%)
CMYKcmyk(70.6%, 80.6%, 0%, 33.3%)
CIE-LABlab(25.77, 48.82, -69.35)
CIE-LCHlch(25.77, 84.81, 305.15°)
OKLaboklab(38.17% 0.0229 -0.2004)
OKLCHoklch(38.17% 0.202 276.5)
XYZxyz(9.1126, 4.6673, 38.4431)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221AA #99AA21
analogous
#2155AA #3221AA #7621AA
triadic
#3221AA #AA3221 #21AA32
tetradic
#3221AA #AA2155 #99AA21 #21AA76
square
#3221AA #AA2155 #99AA21 #21AA76
split-complementary
#3221AA #AA7621 #55AA21
monochromatic
#140D43 #231777 #3221AA #4631D7 #7464E1

Accessibility & contrast

On white

10.86
#3221AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3221AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3221AA#FFFFFF#000000##FFFFFF
##3221AA1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3221aa;
/* rgb */ color: rgb(50, 33, 170);
/* oklch */ color: oklch(38.2% 0.202 276.5);
Tailwind
colors: {
  custom: {
    50: '#7d61c5',
    500: '#3221aa',
    950: '#000000',
  },
}
SCSS
$custom: #3221aa;
$custom-light: #7d61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3221aa",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 247.445,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.20174,
    "h": 276.5
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#3221AA
secondary
#BAC661
accent
#EA3DD5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3221AA

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

Preview Lab → · Contrast checker → · Palette generator →

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