#3222A4#3222A4

#3222A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.194 H 277.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#3222A4
RGBrgb(50, 34, 164)
HSLhsl(247, 66%, 39%)
HSVhsv(247, 79%, 64%)
CMYKcmyk(69.5%, 79.3%, 0%, 35.7%)
CIE-LABlab(25.27, 46.48, -66.55)
CIE-LCHlch(25.27, 81.17, 304.93°)
OKLaboklab(37.63% 0.0241 -0.1923)
OKLCHoklch(37.63% 0.194 277.1)
XYZxyz(8.5861, 4.5017, 35.5312)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222A4 #94A422
analogous
#2253A4 #3222A4 #7322A4
triadic
#3222A4 #A43222 #22A432
tetradic
#3222A4 #A42253 #94A422 #22A473
square
#3222A4 #A42253 #94A422 #22A473
split-complementary
#3222A4 #A47322 #53A422
monochromatic
#130D3F #231771 #3222A4 #442FD4 #7162DE

Accessibility & contrast

On white

11.05
#3222A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3222A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222A4
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222A4#FFFFFF#000000##FFFFFF
##3222A41.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3222a4;
/* rgb */ color: rgb(50, 34, 164);
/* oklch */ color: oklch(37.6% 0.194 277.1);
Tailwind
colors: {
  custom: {
    50: '#7b61c0',
    500: '#3222a4',
    950: '#000000',
  },
}
SCSS
$custom: #3222a4;
$custom-light: #7b61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3222a4",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 247.385,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37628,
    "c": 0.19381,
    "h": 277.1
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#3222A4
secondary
#B7C45E
accent
#E93FD4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3222A4

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

Preview Lab → · Contrast checker → · Palette generator →

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