#3222A3#3222A3

#3222A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.193 H 277.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#3222A3
RGBrgb(50, 34, 163)
HSLhsl(247, 65%, 39%)
HSVhsv(247, 79%, 64%)
CMYKcmyk(69.3%, 79.1%, 0%, 36.1%)
CIE-LABlab(25.15, 46.17, -66.12)
CIE-LCHlch(25.15, 80.65, 304.92°)
OKLaboklab(37.52% 0.0244 -0.1911)
OKLCHoklch(37.52% 0.193 277.3)
XYZxyz(8.4961, 4.4657, 35.0575)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222A3 #93A322
analogous
#2252A3 #3222A3 #7222A3
triadic
#3222A3 #A33222 #22A332
tetradic
#3222A3 #A32252 #93A322 #22A372
square
#3222A3 #A32252 #93A322 #22A372
split-complementary
#3222A3 #A37222 #52A322
monochromatic
#130D3E #221770 #3222A3 #432FD4 #7161DE

Accessibility & contrast

On white

11.09
#3222A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3222A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222A3
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222A3#FFFFFF#000000##FFFFFF
##3222A31.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3222a3;
/* rgb */ color: rgb(50, 34, 163);
/* oklch */ color: oklch(37.5% 0.193 277.3);
Tailwind
colors: {
  custom: {
    50: '#7b61c0',
    500: '#3222a3',
    950: '#000000',
  },
}
SCSS
$custom: #3222a3;
$custom-light: #7b61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3222a3",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 247.442,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.19262,
    "h": 277.3
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#3222A3
secondary
#B7C35E
accent
#E83FD3
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3222A3

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

Preview Lab → · Contrast checker → · Palette generator →

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