#3322A1#3322A1

#3322A1 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.190 H 278.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3322A1
RGBrgb(51, 34, 161)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 79%, 63%)
CMYKcmyk(68.3%, 78.9%, 0%, 36.9%)
CIE-LABlab(25.01, 45.65, -65.14)
CIE-LCHlch(25.01, 79.54, 305.02°)
OKLaboklab(37.38% 0.0263 -0.1882)
OKLCHoklch(37.38% 0.19 278)
XYZxyz(8.3682, 4.4203, 34.1235)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A1 #90A122
analogous
#2251A1 #3322A1 #7222A1
triadic
#3322A1 #A13322 #22A133
tetradic
#3322A1 #A12251 #90A122 #22A172
square
#3322A1 #A12251 #90A122 #22A172
split-complementary
#3322A1 #A17222 #51A122
monochromatic
#130D3C #23176E #3322A1 #442DD3 #7160DD

Accessibility & contrast

On white

11.15
#3322A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3322A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322A1
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A1#FFFFFF#000000##FFFFFF
##3322A11.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3322a1;
/* rgb */ color: rgb(51, 34, 161);
/* oklch */ color: oklch(37.4% 0.190 278.0);
Tailwind
colors: {
  custom: {
    50: '#7b61be',
    500: '#3322a1',
    950: '#000000',
  },
}
SCSS
$custom: #3322a1;
$custom-light: #7b61be;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a1",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 248.031,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.19,
    "h": 278
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#3322A1
secondary
#B5C25D
accent
#E840D2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3322A1

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

Preview Lab → · Contrast checker → · Palette generator →

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