#3222A5#3222A5

#3222A5 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.195 H 277.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#3222A5
RGBrgb(50, 34, 165)
HSLhsl(247, 66%, 39%)
HSVhsv(247, 79%, 65%)
CMYKcmyk(69.7%, 79.4%, 0%, 35.3%)
CIE-LABlab(25.38, 46.79, -66.97)
CIE-LCHlch(25.38, 81.70, 304.94°)
OKLaboklab(37.74% 0.0239 -0.1935)
OKLCHoklch(37.74% 0.195 277)
XYZxyz(8.6767, 4.5380, 36.0087)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222A5 #95A522
analogous
#2254A5 #3222A5 #7422A5
triadic
#3222A5 #A53222 #22A532
tetradic
#3222A5 #A52254 #95A522 #22A574
square
#3222A5 #A52254 #95A522 #22A574
split-complementary
#3222A5 #A57422 #54A522
monochromatic
#130D40 #231872 #3222A5 #4430D4 #7263DF

Accessibility & contrast

On white

11.01
#3222A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3222A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222A5
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222A5#FFFFFF#000000##FFFFFF
##3222A51.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3222a5;
/* rgb */ color: rgb(50, 34, 165);
/* oklch */ color: oklch(37.7% 0.195 277.0);
Tailwind
colors: {
  custom: {
    50: '#7c61c1',
    500: '#3222a5',
    950: '#000000',
  },
}
SCSS
$custom: #3222a5;
$custom-light: #7c61c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3222a5",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 247.328,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37737,
    "c": 0.19499,
    "h": 277
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3222A5

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

Preview Lab → · Contrast checker → · Palette generator →

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