#3222A0#3222A0

#3222A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.189 H 277.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3222A0
RGBrgb(50, 34, 160)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 79%, 63%)
CMYKcmyk(68.8%, 78.8%, 0%, 37.3%)
CIE-LABlab(24.83, 45.23, -64.84)
CIE-LCHlch(24.83, 79.06, 304.90°)
OKLaboklab(37.19% 0.0252 -0.1873)
OKLCHoklch(37.19% 0.189 277.7)
XYZxyz(8.2305, 4.3595, 33.6586)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222A0 #90A022
analogous
#2251A0 #3222A0 #7122A0
triadic
#3222A0 #A03222 #22A032
tetradic
#3222A0 #A02251 #90A022 #22A071
square
#3222A0 #A02251 #90A022 #22A071
split-complementary
#3222A0 #A07122 #51A022
monochromatic
#120D3B #22176E #3222A0 #422DD2 #6F5FDD

Accessibility & contrast

On white

11.22
#3222A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3222A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3222A0
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3222A0#FFFFFF#000000##FFFFFF
##3222A01.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3222a0;
/* rgb */ color: rgb(50, 34, 160);
/* oklch */ color: oklch(37.2% 0.189 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a60bd',
    500: '#3222a0',
    950: '#000000',
  },
}
SCSS
$custom: #3222a0;
$custom-light: #7a60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3222a0",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 247.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37191,
    "c": 0.18902,
    "h": 277.7
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#3222A0
secondary
#B5C25C
accent
#E840D3
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3222A0

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

Preview Lab → · Contrast checker → · Palette generator →

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