#3221A0#3221A0

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

Color values

HEX#3221A0
RGBrgb(50, 33, 160)
HSLhsl(248, 66%, 38%)
HSVhsv(248, 79%, 63%)
CMYKcmyk(68.8%, 79.4%, 0%, 37.3%)
CIE-LABlab(24.65, 45.74, -65.13)
CIE-LCHlch(24.65, 79.59, 305.08°)
OKLaboklab(37.07% 0.0257 -0.1882)
OKLCHoklch(37.07% 0.19 277.8)
XYZxyz(8.2024, 4.3032, 33.6492)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3221A0 #8FA021
analogous
#2150A0 #3221A0 #7121A0
triadic
#3221A0 #A03221 #21A032
tetradic
#3221A0 #A02150 #8FA021 #21A071
square
#3221A0 #A02150 #8FA021 #21A071
split-complementary
#3221A0 #A07121 #50A021
monochromatic
#120C3B #22176D #3221A0 #422BD3 #6F5EDE

Accessibility & contrast

On white

11.29
#3221A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3221A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3221A0
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3221A0#FFFFFF#000000##FFFFFF
##3221A01.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3221a0;
/* rgb */ color: rgb(50, 33, 160);
/* oklch */ color: oklch(37.1% 0.190 277.8);
Tailwind
colors: {
  custom: {
    50: '#7b60bd',
    500: '#3221a0',
    950: '#000000',
  },
}
SCSS
$custom: #3221a0;
$custom-light: #7b60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3221a0",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 248.031,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.18992,
    "h": 277.8
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#3221A0
secondary
#B4C25B
accent
#E93FD2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3221A0

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

Preview Lab → · Contrast checker → · Palette generator →

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