#3222AC#3222AC

#3222AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.203 H 276.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#3222AC
RGBrgb(50, 34, 172)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 67%)
CMYKcmyk(70.9%, 80.2%, 0%, 32.5%)
CIE-LABlab(26.16, 48.95, -69.90)
CIE-LCHlch(26.16, 85.34, 305.00°)
OKLaboklab(38.51% 0.022 -0.2021)
OKLCHoklch(38.51% 0.203 276.2)
XYZxyz(9.3314, 4.7998, 39.4564)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222AC #9CAC22
analogous
#2257AC #3222AC #7722AC
triadic
#3222AC #AC3222 #22AC32
tetradic
#3222AC #AC2257 #9CAC22 #22AC77
square
#3222AC #AC2257 #9CAC22 #22AC77
split-complementary
#3222AC #AC7722 #57AC22
monochromatic
#140E46 #231879 #3222AC #4734D7 #7567E1

Accessibility & contrast

On white

10.71
#3222AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3222AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222AC
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222AC#FFFFFF#000000##FFFFFF
##3222AC1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3222ac;
/* rgb */ color: rgb(50, 34, 172);
/* oklch */ color: oklch(38.5% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#7d61c6',
    500: '#3222ac',
    950: '#000000',
  },
}
SCSS
$custom: #3222ac;
$custom-light: #7d61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3222ac",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 246.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.20325,
    "h": 276.2
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#3222AC
secondary
#BBC763
accent
#EA3ED6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3222AC

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

Preview Lab → · Contrast checker → · Palette generator →

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