#3220A1#3220A1

#3220A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.192 H 277.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3220A1
RGBrgb(50, 32, 161)
HSLhsl(248, 67%, 38%)
HSVhsv(248, 80%, 63%)
CMYKcmyk(68.9%, 80.1%, 0%, 36.9%)
CIE-LABlab(24.59, 46.55, -65.84)
CIE-LCHlch(24.59, 80.64, 305.26°)
OKLaboklab(37.06% 0.0259 -0.1902)
OKLCHoklch(37.06% 0.192 277.8)
XYZxyz(8.2628, 4.2836, 34.1027)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3220A1 #8FA120
analogous
#204FA1 #3220A1 #7220A1
triadic
#3220A1 #A13220 #20A132
tetradic
#3220A1 #A1204F #8FA120 #20A172
square
#3220A1 #A1204F #8FA120 #20A172
split-complementary
#3220A1 #A17220 #4FA120
monochromatic
#120C3B #22166E #3220A1 #422AD4 #6F5DDF

Accessibility & contrast

On white

11.31
#3220A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3220A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3220A1
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3220A1#FFFFFF#000000##FFFFFF
##3220A11.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3220a1;
/* rgb */ color: rgb(50, 32, 161);
/* oklch */ color: oklch(37.1% 0.192 277.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fbe',
    500: '#3220a1',
    950: '#000000',
  },
}
SCSS
$custom: #3220a1;
$custom-light: #7b5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3220a1",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 248.372,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37058,
    "c": 0.19199,
    "h": 277.8
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#3220A1
secondary
#B4C35A
accent
#EA3ED2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3220A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3220A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva