#3322AB#3322AB

#3322AB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.202 H 276.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3322AB
RGBrgb(51, 34, 171)
HSLhsl(247, 67%, 40%)
HSVhsv(247, 80%, 67%)
CMYKcmyk(70.2%, 80.1%, 0%, 32.9%)
CIE-LABlab(26.12, 48.73, -69.36)
CIE-LCHlch(26.12, 84.77, 305.09°)
OKLaboklab(38.47% 0.0236 -0.2005)
OKLCHoklch(38.47% 0.202 276.7)
XYZxyz(9.2856, 4.7873, 38.9549)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322AB #9AAB22
analogous
#2256AB #3322AB #7722AB
triadic
#3322AB #AB3322 #22AB33
tetradic
#3322AB #AB2256 #9AAB22 #22AB77
square
#3322AB #AB2256 #9AAB22 #22AB77
split-complementary
#3322AB #AB7722 #56AB22
monochromatic
#150E45 #241878 #3322AB #4834D7 #7667E1

Accessibility & contrast

On white

10.73
#3322AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3322AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322AB
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322AB#FFFFFF#000000##FFFFFF
##3322AB1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3322ab;
/* rgb */ color: rgb(51, 34, 171);
/* oklch */ color: oklch(38.5% 0.202 276.7);
Tailwind
colors: {
  custom: {
    50: '#7d61c5',
    500: '#3322ab',
    950: '#000000',
  },
}
SCSS
$custom: #3322ab;
$custom-light: #7d61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3322ab",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 171
  },
  "hsl": {
    "h": 247.445,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.20185,
    "h": 276.7
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#3322AB
secondary
#BAC663
accent
#EA3ED4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3322AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3322AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva