#3222A8#3222A8

#3222A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 38.1% C 0.199 H 276.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3222A8
RGBrgb(50, 34, 168)
HSLhsl(247, 66%, 40%)
HSVhsv(247, 80%, 66%)
CMYKcmyk(70.2%, 79.8%, 0%, 34.1%)
CIE-LABlab(25.71, 47.72, -68.23)
CIE-LCHlch(25.71, 83.26, 304.97°)
OKLaboklab(38.07% 0.023 -0.1972)
OKLCHoklch(38.07% 0.199 276.7)
XYZxyz(8.9530, 4.6485, 37.4636)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3222A8 #98A822
analogous
#2255A8 #3222A8 #7522A8
triadic
#3222A8 #A83222 #22A832
tetradic
#3222A8 #A82255 #98A822 #22A875
square
#3222A8 #A82255 #98A822 #22A875
split-complementary
#3222A8 #A87522 #55A822
monochromatic
#140D42 #231875 #3222A8 #4532D5 #7365E0

Accessibility & contrast

On white

10.88
#3222A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3222A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3222A8#FFFFFF#000000##FFFFFF
##3222A81.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3222a8;
/* rgb */ color: rgb(50, 34, 168);
/* oklch */ color: oklch(38.1% 0.199 276.7);
Tailwind
colors: {
  custom: {
    50: '#7c61c3',
    500: '#3222a8',
    950: '#000000',
  },
}
SCSS
$custom: #3222a8;
$custom-light: #7c61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3222a8",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 247.164,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.19855,
    "h": 276.7
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#3222A8
secondary
#B9C561
accent
#E93FD5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3222A8

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

Preview Lab → · Contrast checker → · Palette generator →

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