#3322A5#3322A5

#3322A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.195 H 277.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3322A5
RGBrgb(51, 34, 165)
HSLhsl(248, 66%, 39%)
HSVhsv(248, 79%, 65%)
CMYKcmyk(69.1%, 79.4%, 0%, 35.3%)
CIE-LABlab(25.45, 46.89, -66.84)
CIE-LCHlch(25.45, 81.64, 305.05°)
OKLaboklab(37.81% 0.0253 -0.1931)
OKLCHoklch(37.81% 0.195 277.4)
XYZxyz(8.7266, 4.5637, 36.0110)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A5 #94A522
analogous
#2253A5 #3322A5 #7522A5
triadic
#3322A5 #A53322 #22A533
tetradic
#3322A5 #A52253 #94A522 #22A575
square
#3322A5 #A52253 #94A522 #22A575
split-complementary
#3322A5 #A57522 #53A522
monochromatic
#140D40 #231872 #3322A5 #4530D4 #7363DF

Accessibility & contrast

On white

10.98
#3322A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3322A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322A5
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A5#FFFFFF#000000##FFFFFF
##3322A51.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3322a5;
/* rgb */ color: rgb(51, 34, 165);
/* oklch */ color: oklch(37.8% 0.195 277.4);
Tailwind
colors: {
  custom: {
    50: '#7c61c1',
    500: '#3322a5',
    950: '#000000',
  },
}
SCSS
$custom: #3322a5;
$custom-light: #7c61c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a5",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 247.786,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.19477,
    "h": 277.4
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#3322A5
secondary
#B7C45F
accent
#E93FD3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3322A5

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

Preview Lab → · Contrast checker → · Palette generator →

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