#3322A2#3322A2

#3322A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.191 H 277.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3322A2
RGBrgb(51, 34, 162)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 79%, 64%)
CMYKcmyk(68.5%, 79%, 0%, 36.5%)
CIE-LABlab(25.12, 45.95, -65.56)
CIE-LCHlch(25.12, 80.06, 305.03°)
OKLaboklab(37.49% 0.0261 -0.1894)
OKLCHoklch(37.49% 0.191 277.8)
XYZxyz(8.4567, 4.4558, 34.5898)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A2 #91A222
analogous
#2251A2 #3322A2 #7322A2
triadic
#3322A2 #A23322 #22A233
tetradic
#3322A2 #A22251 #91A222 #22A273
square
#3322A2 #A22251 #91A222 #22A273
split-complementary
#3322A2 #A27322 #51A222
monochromatic
#130D3D #23176F #3322A2 #442ED3 #7161DE

Accessibility & contrast

On white

11.10
#3322A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3322A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322A2
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A2#FFFFFF#000000##FFFFFF
##3322A21.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3322a2;
/* rgb */ color: rgb(51, 34, 162);
/* oklch */ color: oklch(37.5% 0.191 277.8);
Tailwind
colors: {
  custom: {
    50: '#7b61bf',
    500: '#3322a2',
    950: '#000000',
  },
}
SCSS
$custom: #3322a2;
$custom-light: #7b61bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a2",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 247.969,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.19119,
    "h": 277.8
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3322A2

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

Preview Lab → · Contrast checker → · Palette generator →

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