#3321AE#3321AE

#3321AE is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.7% C 0.206 H 276.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3321AE
RGBrgb(51, 33, 174)
HSLhsl(248, 68%, 41%)
HSVhsv(248, 81%, 68%)
CMYKcmyk(70.7%, 81%, 0%, 31.8%)
CIE-LABlab(26.29, 50.12, -70.88)
CIE-LCHlch(26.29, 86.81, 305.27°)
OKLaboklab(38.69% 0.0232 -0.2048)
OKLCHoklch(38.69% 0.206 276.5)
XYZxyz(9.5466, 4.8466, 40.4686)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3321AE #9CAE21
analogous
#2155AE #3321AE #7A21AE
triadic
#3321AE #AE3321 #21AE33
tetradic
#3321AE #AE2155 #9CAE21 #21AE7A
square
#3321AE #AE2155 #9CAE21 #21AE7A
split-complementary
#3321AE #AE7A21 #55AE21
monochromatic
#150D47 #24177B #3321AE #4934D8 #7767E2

Accessibility & contrast

On white

10.66
#3321AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3321AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3321AE#FFFFFF#000000##FFFFFF
##3321AE1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3321ae;
/* rgb */ color: rgb(51, 33, 174);
/* oklch */ color: oklch(38.7% 0.206 276.5);
Tailwind
colors: {
  custom: {
    50: '#7e61c8',
    500: '#3321ae',
    950: '#000000',
  },
}
SCSS
$custom: #3321ae;
$custom-light: #7e61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3321ae",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 247.66,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.20616,
    "h": 276.5
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#3321AE
secondary
#BBC863
accent
#EB3DD5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3321AE

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

Preview Lab → · Contrast checker → · Palette generator →

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