#3322A3#3322A3

#3322A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.192 H 277.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3322A3
RGBrgb(51, 34, 163)
HSLhsl(248, 65%, 39%)
HSVhsv(248, 79%, 64%)
CMYKcmyk(68.7%, 79.1%, 0%, 36.1%)
CIE-LABlab(25.23, 46.27, -65.99)
CIE-LCHlch(25.23, 80.59, 305.03°)
OKLaboklab(37.59% 0.0258 -0.1907)
OKLCHoklch(37.59% 0.192 277.7)
XYZxyz(8.5460, 4.4915, 35.0598)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A3 #92A322
analogous
#2251A3 #3322A3 #7322A3
triadic
#3322A3 #A33322 #22A333
tetradic
#3322A3 #A32251 #92A322 #22A373
square
#3322A3 #A32251 #92A322 #22A373
split-complementary
#3322A3 #A37322 #51A322
monochromatic
#130D3E #231770 #3322A3 #442FD4 #7261DE

Accessibility & contrast

On white

11.06
#3322A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3322A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322A3
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A3#FFFFFF#000000##FFFFFF
##3322A31.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3322a3;
/* rgb */ color: rgb(51, 34, 163);
/* oklch */ color: oklch(37.6% 0.192 277.7);
Tailwind
colors: {
  custom: {
    50: '#7c61c0',
    500: '#3322a3',
    950: '#000000',
  },
}
SCSS
$custom: #3322a3;
$custom-light: #7c61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a3",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 247.907,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.1924,
    "h": 277.7
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#3322A3
secondary
#B6C35E
accent
#E83FD2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3322A3

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

Preview Lab → · Contrast checker → · Palette generator →

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