#3220A8#3220A8

#3220A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.200 H 276.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#3220A8
RGBrgb(50, 32, 168)
HSLhsl(248, 68%, 39%)
HSVhsv(248, 81%, 66%)
CMYKcmyk(70.2%, 81%, 0%, 34.1%)
CIE-LABlab(25.37, 48.69, -68.79)
CIE-LCHlch(25.37, 84.28, 305.29°)
OKLaboklab(37.84% 0.0239 -0.1988)
OKLCHoklch(37.84% 0.2 276.9)
XYZxyz(8.8975, 4.5375, 37.4451)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3220A8 #96A820
analogous
#2052A8 #3220A8 #7620A8
triadic
#3220A8 #A83220 #20A832
tetradic
#3220A8 #A82052 #96A820 #20A876
square
#3220A8 #A82052 #96A820 #20A876
split-complementary
#3220A8 #A87620 #52A820
monochromatic
#130C41 #231675 #3220A8 #442ED7 #7261E1

Accessibility & contrast

On white

11.01
#3220A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3220A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3220A8
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3220A8#FFFFFF#000000##FFFFFF
##3220A81.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)
#0042AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3220a8;
/* rgb */ color: rgb(50, 32, 168);
/* oklch */ color: oklch(37.8% 0.200 276.9);
Tailwind
colors: {
  custom: {
    50: '#7c60c3',
    500: '#3220a8',
    950: '#000000',
  },
}
SCSS
$custom: #3220a8;
$custom-light: #7c60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3220a8",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 247.941,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37835,
    "c": 0.20023,
    "h": 276.9
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#3220A8
secondary
#B8C65E
accent
#EB3DD4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3220A8

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

Preview Lab → · Contrast checker → · Palette generator →

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