#3222AD#3222AD

#3222AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.204 H 276.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3222AD
RGBrgb(50, 34, 173)
HSLhsl(247, 67%, 41%)
HSVhsv(247, 80%, 68%)
CMYKcmyk(71.1%, 80.3%, 0%, 32.2%)
CIE-LABlab(26.27, 49.26, -70.32)
CIE-LCHlch(26.27, 85.85, 305.01°)
OKLaboklab(38.62% 0.0217 -0.2033)
OKLCHoklch(38.62% 0.204 276.1)
XYZxyz(9.4278, 4.8384, 39.9641)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222AD #9DAD22
analogous
#2258AD #3222AD #7722AD
triadic
#3222AD #AD3222 #22AD32
tetradic
#3222AD #AD2258 #9DAD22 #22AD77
square
#3222AD #AD2258 #9DAD22 #22AD77
split-complementary
#3222AD #AD7722 #58AD22
monochromatic
#140E47 #23187A #3222AD #4835D7 #7668E1

Accessibility & contrast

On white

10.67
#3222AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3222AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222AD
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222AD#FFFFFF#000000##FFFFFF
##3222AD1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3222ad;
/* rgb */ color: rgb(50, 34, 173);
/* oklch */ color: oklch(38.6% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#7d61c7',
    500: '#3222ad',
    950: '#000000',
  },
}
SCSS
$custom: #3222ad;
$custom-light: #7d61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3222ad",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 246.906,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.20443,
    "h": 276.1
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#3222AD
secondary
#BCC764
accent
#EA3ED6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3222AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3222AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva