#3220A4#3220A4

#3220A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.196 H 277.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3220A4
RGBrgb(50, 32, 164)
HSLhsl(248, 67%, 38%)
HSVhsv(248, 80%, 64%)
CMYKcmyk(69.5%, 80.5%, 0%, 35.7%)
CIE-LABlab(24.92, 47.47, -67.11)
CIE-LCHlch(24.92, 82.20, 305.27°)
OKLaboklab(37.39% 0.0251 -0.1939)
OKLCHoklch(37.39% 0.196 277.4)
XYZxyz(8.5306, 4.3907, 35.5127)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3220A4 #92A420
analogous
#2050A4 #3220A4 #7420A4
triadic
#3220A4 #A43220 #20A432
tetradic
#3220A4 #A42050 #92A420 #20A474
square
#3220A4 #A42050 #92A420 #20A474
split-complementary
#3220A4 #A47420 #50A420
monochromatic
#130C3E #221671 #3220A4 #432BD6 #705FE0

Accessibility & contrast

On white

11.18
#3220A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3220A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3220A4
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3220A4#FFFFFF#000000##FFFFFF
##3220A41.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3220a4;
/* rgb */ color: rgb(50, 32, 164);
/* oklch */ color: oklch(37.4% 0.196 277.4);
Tailwind
colors: {
  custom: {
    50: '#7c60c0',
    500: '#3220a4',
    950: '#000000',
  },
}
SCSS
$custom: #3220a4;
$custom-light: #7c60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3220a4",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 248.182,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37389,
    "c": 0.19553,
    "h": 277.4
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#3220A4
secondary
#B6C45C
accent
#EA3ED3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3220A4

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

Preview Lab → · Contrast checker → · Palette generator →

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