#3222B3#3222B3

#3222B3 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.3% C 0.211 H 275.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3222B3
RGBrgb(50, 34, 179)
HSLhsl(247, 68%, 42%)
HSVhsv(247, 81%, 70%)
CMYKcmyk(72.1%, 81%, 0%, 29.8%)
CIE-LABlab(26.95, 51.08, -72.79)
CIE-LCHlch(26.95, 88.92, 305.06°)
OKLaboklab(39.29% 0.0201 -0.2104)
OKLCHoklch(39.29% 0.211 275.5)
XYZxyz(10.0214, 5.0759, 43.0907)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222B3 #A3B322
analogous
#225AB3 #3222B3 #7B22B3
triadic
#3222B3 #B33222 #22B332
tetradic
#3222B3 #B3225A #A3B322 #22B37B
square
#3222B3 #B3225A #A3B322 #22B37B
split-complementary
#3222B3 #B37B22 #5AB322
monochromatic
#150E4C #241880 #3222B3 #4B39D9 #796CE3

Accessibility & contrast

On white

10.42
#3222B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3222B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3222B3#FFFFFF#000000##FFFFFF
##3222B31.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3222b3;
/* rgb */ color: rgb(50, 34, 179);
/* oklch */ color: oklch(39.3% 0.211 275.5);
Tailwind
colors: {
  custom: {
    50: '#7f62cb',
    500: '#3222b3',
    950: '#000000',
  },
}
SCSS
$custom: #3222b3;
$custom-light: #7f62cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3222b3",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 246.621,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.21139,
    "h": 275.5
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#3222B3
secondary
#BFC968
accent
#EB3DD8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3222B3

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

Preview Lab → · Contrast checker → · Palette generator →

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