#3321AD#3321AD

#3321AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.205 H 276.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3321AD
RGBrgb(51, 33, 173)
HSLhsl(248, 68%, 40%)
HSVhsv(248, 81%, 68%)
CMYKcmyk(70.5%, 80.9%, 0%, 32.2%)
CIE-LABlab(26.18, 49.82, -70.46)
CIE-LCHlch(26.18, 86.30, 305.26°)
OKLaboklab(38.58% 0.0235 -0.2036)
OKLCHoklch(38.58% 0.205 276.6)
XYZxyz(9.4495, 4.8078, 39.9571)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3321AD #9BAD21
analogous
#2155AD #3321AD #7921AD
triadic
#3321AD #AD3321 #21AD33
tetradic
#3321AD #AD2155 #9BAD21 #21AD79
square
#3321AD #AD2155 #9BAD21 #21AD79
split-complementary
#3321AD #AD7921 #55AD21
monochromatic
#150D46 #24177A #3321AD #4833D8 #7666E2

Accessibility & contrast

On white

10.70
#3321AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3321AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3321AD
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3321AD#FFFFFF#000000##FFFFFF
##3321AD1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3321ad;
/* rgb */ color: rgb(51, 33, 173);
/* oklch */ color: oklch(38.6% 0.205 276.6);
Tailwind
colors: {
  custom: {
    50: '#7e61c7',
    500: '#3321ad',
    950: '#000000',
  },
}
SCSS
$custom: #3321ad;
$custom-light: #7e61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3321ad",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 247.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.205,
    "h": 276.6
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#3321AD
secondary
#BAC762
accent
#EB3DD4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3321AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3321AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva