#3321AC#3321AC

#3321AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.204 H 276.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3321AC
RGBrgb(51, 33, 172)
HSLhsl(248, 68%, 40%)
HSVhsv(248, 81%, 67%)
CMYKcmyk(70.3%, 80.8%, 0%, 32.5%)
CIE-LABlab(26.07, 49.52, -70.05)
CIE-LCHlch(26.07, 85.78, 305.26°)
OKLaboklab(38.47% 0.0238 -0.2024)
OKLCHoklch(38.47% 0.204 276.7)
XYZxyz(9.3531, 4.7692, 39.4494)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3321AC #9AAC21
analogous
#2154AC #3321AC #7921AC
triadic
#3321AC #AC3321 #21AC33
tetradic
#3321AC #AC2154 #9AAC21 #21AC79
square
#3321AC #AC2154 #9AAC21 #21AC79
split-complementary
#3321AC #AC7921 #54AC21
monochromatic
#150D45 #241779 #3321AC #4832D8 #7666E2

Accessibility & contrast

On white

10.75
#3321AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3321AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3321AC#FFFFFF#000000##FFFFFF
##3321AC1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3321ac;
/* rgb */ color: rgb(51, 33, 172);
/* oklch */ color: oklch(38.5% 0.204 276.7);
Tailwind
colors: {
  custom: {
    50: '#7e61c6',
    500: '#3321ac',
    950: '#000000',
  },
}
SCSS
$custom: #3321ac;
$custom-light: #7e61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3321ac",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 247.77,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38468,
    "c": 0.20384,
    "h": 276.7
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3321AC

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

Preview Lab → · Contrast checker → · Palette generator →

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