#3222AB#3222AB

#3222AB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.202 H 276.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3222AB
RGBrgb(50, 34, 171)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 67%)
CMYKcmyk(70.8%, 80.1%, 0%, 32.9%)
CIE-LABlab(26.04, 48.64, -69.49)
CIE-LCHlch(26.04, 84.82, 304.99°)
OKLaboklab(38.4% 0.0222 -0.2008)
OKLCHoklch(38.4% 0.202 276.3)
XYZxyz(9.2357, 4.7616, 38.9525)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222AB #9BAB22
analogous
#2257AB #3222AB #7622AB
triadic
#3222AB #AB3222 #22AB32
tetradic
#3222AB #AB2257 #9BAB22 #22AB76
square
#3222AB #AB2257 #9BAB22 #22AB76
split-complementary
#3222AB #AB7622 #57AB22
monochromatic
#140E45 #231878 #3222AB #4734D7 #7567E1

Accessibility & contrast

On white

10.76
#3222AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3222AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222AB
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222AB#FFFFFF#000000##FFFFFF
##3222AB1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3222ab;
/* rgb */ color: rgb(50, 34, 171);
/* oklch */ color: oklch(38.4% 0.202 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d61c5',
    500: '#3222ab',
    950: '#000000',
  },
}
SCSS
$custom: #3222ab;
$custom-light: #7d61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3222ab",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 171
  },
  "hsl": {
    "h": 247.007,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.384,
    "c": 0.20208,
    "h": 276.3
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3222AB

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

Preview Lab → · Contrast checker → · Palette generator →

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