#3322A4#3322A4

#3322A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.194 H 277.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#3322A4
RGBrgb(51, 34, 164)
HSLhsl(248, 66%, 39%)
HSVhsv(248, 79%, 64%)
CMYKcmyk(68.9%, 79.3%, 0%, 35.7%)
CIE-LABlab(25.34, 46.58, -66.41)
CIE-LCHlch(25.34, 81.12, 305.04°)
OKLaboklab(37.7% 0.0255 -0.1919)
OKLCHoklch(37.7% 0.194 277.6)
XYZxyz(8.6359, 4.5274, 35.5335)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A4 #93A422
analogous
#2252A4 #3322A4 #7422A4
triadic
#3322A4 #A43322 #22A433
tetradic
#3322A4 #A42252 #93A422 #22A474
square
#3322A4 #A42252 #93A422 #22A474
split-complementary
#3322A4 #A47422 #52A422
monochromatic
#130D3F #231771 #3322A4 #452FD4 #7262DE

Accessibility & contrast

On white

11.02
#3322A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3322A4
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A4#FFFFFF#000000##FFFFFF
##3322A41.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0037A2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3322a4;
/* rgb */ color: rgb(51, 34, 164);
/* oklch */ color: oklch(37.7% 0.194 277.6);
Tailwind
colors: {
  custom: {
    50: '#7c61c0',
    500: '#3322a4',
    950: '#000000',
  },
}
SCSS
$custom: #3322a4;
$custom-light: #7c61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a4",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 247.846,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37702,
    "c": 0.19358,
    "h": 277.6
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#3322A4
secondary
#B6C45E
accent
#E93FD2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3322A4

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

Preview Lab → · Contrast checker → · Palette generator →

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