#3321AA#3321AA

#3321AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.202 H 276.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3321AA
RGBrgb(51, 33, 170)
HSLhsl(248, 67%, 40%)
HSVhsv(248, 81%, 67%)
CMYKcmyk(70%, 80.6%, 0%, 33.3%)
CIE-LABlab(25.84, 48.91, -69.22)
CIE-LCHlch(25.84, 84.75, 305.24°)
OKLaboklab(38.25% 0.0243 -0.2)
OKLCHoklch(38.25% 0.202 276.9)
XYZxyz(9.1624, 4.6930, 38.4454)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3321AA #98AA21
analogous
#2154AA #3321AA #7721AA
triadic
#3321AA #AA3321 #21AA33
tetradic
#3321AA #AA2154 #98AA21 #21AA77
square
#3321AA #AA2154 #98AA21 #21AA77
split-complementary
#3321AA #AA7721 #54AA21
monochromatic
#140D43 #241777 #3321AA #4731D7 #7564E1

Accessibility & contrast

On white

10.83
#3321AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3321AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3321AA#FFFFFF#000000##FFFFFF
##3321AA1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3321aa;
/* rgb */ color: rgb(51, 33, 170);
/* oklch */ color: oklch(38.2% 0.202 276.9);
Tailwind
colors: {
  custom: {
    50: '#7d61c5',
    500: '#3321aa',
    950: '#000000',
  },
}
SCSS
$custom: #3321aa;
$custom-light: #7d61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3321aa",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 247.883,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38245,
    "c": 0.20151,
    "h": 276.9
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#3321AA
secondary
#B9C661
accent
#EA3DD4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3321AA

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

Preview Lab → · Contrast checker → · Palette generator →

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