#3222A6#3222A6

#3222A6 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.196 H 276.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#3222A6
RGBrgb(50, 34, 166)
HSLhsl(247, 66%, 39%)
HSVhsv(247, 80%, 65%)
CMYKcmyk(69.9%, 79.5%, 0%, 34.9%)
CIE-LABlab(25.49, 47.10, -67.39)
CIE-LCHlch(25.49, 82.22, 304.95°)
OKLaboklab(37.85% 0.0236 -0.1948)
OKLCHoklch(37.85% 0.196 276.9)
XYZxyz(8.7681, 4.5745, 36.4899)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222A6 #96A622
analogous
#2254A6 #3222A6 #7422A6
triadic
#3222A6 #A63222 #22A632
tetradic
#3222A6 #A62254 #96A622 #22A674
square
#3222A6 #A62254 #96A622 #22A674
split-complementary
#3222A6 #A67422 #54A622
monochromatic
#130D40 #231873 #3222A6 #4430D5 #7263DF

Accessibility & contrast

On white

10.97
#3222A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3222A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3222A6#FFFFFF#000000##FFFFFF
##3222A61.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3222a6;
/* rgb */ color: rgb(50, 34, 166);
/* oklch */ color: oklch(37.8% 0.196 276.9);
Tailwind
colors: {
  custom: {
    50: '#7c61c2',
    500: '#3222a6',
    950: '#000000',
  },
}
SCSS
$custom: #3222a6;
$custom-light: #7c61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3222a6",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 247.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.19618,
    "h": 276.9
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#3222A6
secondary
#B8C45F
accent
#E93FD4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3222A6

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

Preview Lab → · Contrast checker → · Palette generator →

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