#3221A7#3221A7

#3221A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.198 H 276.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3221A7
RGBrgb(50, 33, 167)
HSLhsl(248, 67%, 39%)
HSVhsv(248, 80%, 65%)
CMYKcmyk(70.1%, 80.2%, 0%, 34.5%)
CIE-LABlab(25.43, 47.90, -68.10)
CIE-LCHlch(25.43, 83.26, 305.13°)
OKLaboklab(37.84% 0.0238 -0.1968)
OKLCHoklch(37.84% 0.198 276.9)
XYZxyz(8.8320, 4.5550, 36.9655)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221A7 #96A721
analogous
#2153A7 #3221A7 #7521A7
triadic
#3221A7 #A73221 #21A732
tetradic
#3221A7 #A72153 #96A721 #21A775
square
#3221A7 #A72153 #96A721 #21A775
split-complementary
#3221A7 #A77521 #53A721
monochromatic
#130D41 #231774 #3221A7 #442FD6 #7262E0

Accessibility & contrast

On white

10.99
#3221A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3221A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221A7
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221A7#FFFFFF#000000##FFFFFF
##3221A71.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3221a7;
/* rgb */ color: rgb(50, 33, 167);
/* oklch */ color: oklch(37.8% 0.198 276.9);
Tailwind
colors: {
  custom: {
    50: '#7c60c2',
    500: '#3221a7',
    950: '#000000',
  },
}
SCSS
$custom: #3221a7;
$custom-light: #7c60c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3221a7",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 167
  },
  "hsl": {
    "h": 247.612,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.19822,
    "h": 276.9
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#3221A7
secondary
#B8C55F
accent
#EA3ED4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3221A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3221A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva