#3221A9#3221A9

#3221A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.201 H 276.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#3221A9
RGBrgb(50, 33, 169)
HSLhsl(248, 67%, 40%)
HSVhsv(248, 80%, 66%)
CMYKcmyk(70.4%, 80.5%, 0%, 33.7%)
CIE-LABlab(25.65, 48.52, -68.93)
CIE-LCHlch(25.65, 84.29, 305.14°)
OKLaboklab(38.06% 0.0232 -0.1992)
OKLCHoklch(38.06% 0.201 276.6)
XYZxyz(9.0183, 4.6296, 37.9468)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221A9 #98A921
analogous
#2154A9 #3221A9 #7621A9
triadic
#3221A9 #A93221 #21A932
tetradic
#3221A9 #A92154 #98A921 #21A976
square
#3221A9 #A92154 #98A921 #21A976
split-complementary
#3221A9 #A97621 #54A921
monochromatic
#140D43 #231776 #3221A9 #4531D7 #7364E1

Accessibility & contrast

On white

10.90
#3221A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3221A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221A9
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221A9#FFFFFF#000000##FFFFFF
##3221A91.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3221a9;
/* rgb */ color: rgb(50, 33, 169);
/* oklch */ color: oklch(38.1% 0.201 276.6);
Tailwind
colors: {
  custom: {
    50: '#7d60c4',
    500: '#3221a9',
    950: '#000000',
  },
}
SCSS
$custom: #3221a9;
$custom-light: #7d60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3221a9",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 247.5,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.20057,
    "h": 276.6
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#3221A9
secondary
#B9C660
accent
#EA3ED5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3221A9

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

Preview Lab → · Contrast checker → · Palette generator →

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