#3321B2#3321B2

#3321B2 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.1% C 0.211 H 276.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3321B2
RGBrgb(51, 33, 178)
HSLhsl(247, 69%, 41%)
HSVhsv(247, 81%, 70%)
CMYKcmyk(71.3%, 81.5%, 0%, 30.2%)
CIE-LABlab(26.75, 51.33, -72.52)
CIE-LCHlch(26.75, 88.85, 305.29°)
OKLaboklab(39.14% 0.0221 -0.2096)
OKLCHoklch(39.14% 0.211 276)
XYZxyz(9.9423, 5.0049, 42.5529)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3321B2 #A0B221
analogous
#2158B2 #3321B2 #7C21B2
triadic
#3321B2 #B23321 #21B233
tetradic
#3321B2 #B22158 #A0B221 #21B27C
square
#3321B2 #B22158 #A0B221 #21B27C
split-complementary
#3321B2 #B27C21 #58B221
monochromatic
#150E4B #24177E #3321B2 #4B36DA #796AE3

Accessibility & contrast

On white

10.49
#3321B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3321B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3321B2#FFFFFF#000000##FFFFFF
##3321B21.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0039B0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3321b2;
/* rgb */ color: rgb(51, 33, 178);
/* oklch */ color: oklch(39.1% 0.211 276.0);
Tailwind
colors: {
  custom: {
    50: '#7f61ca',
    500: '#3321b2',
    950: '#000000',
  },
}
SCSS
$custom: #3321b2;
$custom-light: #7f61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3321b2",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 247.448,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39139,
    "c": 0.21078,
    "h": 276
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#3321B2
secondary
#BDC966
accent
#EC3CD6
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3321B2

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

Preview Lab → · Contrast checker → · Palette generator →

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