#3222AF#3222AF

#3222AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.207 H 275.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3222AF
RGBrgb(50, 34, 175)
HSLhsl(247, 67%, 41%)
HSVhsv(247, 81%, 69%)
CMYKcmyk(71.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(26.50, 49.87, -71.15)
CIE-LCHlch(26.50, 86.88, 305.03°)
OKLaboklab(38.85% 0.0212 -0.2057)
OKLCHoklch(38.85% 0.207 275.9)
XYZxyz(9.6227, 4.9164, 40.9910)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222AF #9FAF22
analogous
#2258AF #3222AF #7822AF
triadic
#3222AF #AF3222 #22AF32
tetradic
#3222AF #AF2258 #9FAF22 #22AF78
square
#3222AF #AF2258 #9FAF22 #22AF78
split-complementary
#3222AF #AF7822 #58AF22
monochromatic
#150E49 #23187C #3222AF #4936D8 #7769E2

Accessibility & contrast

On white

10.59
#3222AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3222AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222AF
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222AF#FFFFFF#000000##FFFFFF
##3222AF1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3222af;
/* rgb */ color: rgb(50, 34, 175);
/* oklch */ color: oklch(38.8% 0.207 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e61c8',
    500: '#3222af',
    950: '#000000',
  },
}
SCSS
$custom: #3222af;
$custom-light: #7e61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3222af",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 246.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38845,
    "c": 0.20676,
    "h": 275.9
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#3222AF
secondary
#BDC865
accent
#EA3DD7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3222AF

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

Preview Lab → · Contrast checker → · Palette generator →

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