#3222AA#3222AA

#3222AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.201 H 276.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3222AA
RGBrgb(50, 34, 170)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 67%)
CMYKcmyk(70.6%, 80%, 0%, 33.3%)
CIE-LABlab(25.93, 48.34, -69.07)
CIE-LCHlch(25.93, 84.30, 304.98°)
OKLaboklab(38.29% 0.0225 -0.1996)
OKLCHoklch(38.29% 0.201 276.4)
XYZxyz(9.1407, 4.7236, 38.4524)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222AA #9AAA22
analogous
#2256AA #3222AA #7622AA
triadic
#3222AA #AA3222 #22AA32
tetradic
#3222AA #AA2256 #9AAA22 #22AA76
square
#3222AA #AA2256 #9AAA22 #22AA76
split-complementary
#3222AA #AA7622 #56AA22
monochromatic
#140E44 #231877 #3222AA #4633D6 #7466E0

Accessibility & contrast

On white

10.80
#3222AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3222AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3222AA#FFFFFF#000000##FFFFFF
##3222AA1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3222aa;
/* rgb */ color: rgb(50, 34, 170);
/* oklch */ color: oklch(38.3% 0.201 276.4);
Tailwind
colors: {
  custom: {
    50: '#7d61c5',
    500: '#3222aa',
    950: '#000000',
  },
}
SCSS
$custom: #3222aa;
$custom-light: #7d61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3222aa",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 247.059,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.38289,
    "c": 0.20091,
    "h": 276.4
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#3222AA
secondary
#BAC662
accent
#EA3ED5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3222AA

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

Preview Lab → · Contrast checker → · Palette generator →

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