#3327AC#3327AC

#3327AC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.2% C 0.199 H 276.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3327AC
RGBrgb(51, 39, 172)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 77%, 67%)
CMYKcmyk(70.3%, 77.3%, 0%, 32.5%)
CIE-LABlab(27.11, 46.51, -68.33)
CIE-LCHlch(27.11, 82.65, 304.24°)
OKLaboklab(39.2% 0.021 -0.1975)
OKLCHoklch(39.2% 0.199 276.1)
XYZxyz(9.5347, 5.1325, 39.5099)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327AC #A0AC27
analogous
#275EAC #3327AC #7627AC
triadic
#3327AC #AC3327 #27AC33
tetradic
#3327AC #AC275E #A0AC27 #27AC76
square
#3327AC #AC275E #A0AC27 #27AC76
split-complementary
#3327AC #AC7627 #5EAC27
monochromatic
#151048 #241C7A #3327AC #4B3DD3 #796FDE

Accessibility & contrast

On white

10.36
#3327AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3327AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327AC
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327AC#FFFFFF#000000##FFFFFF
##3327AC1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3327ac;
/* rgb */ color: rgb(51, 39, 172);
/* oklch */ color: oklch(39.2% 0.199 276.1);
Tailwind
colors: {
  custom: {
    50: '#7d64c6',
    500: '#3327ac',
    950: '#000000',
  },
}
SCSS
$custom: #3327ac;
$custom-light: #7d64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3327ac",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 245.414,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.19864,
    "h": 276.1
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#3327AC
secondary
#BDC56A
accent
#E642D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3327AC

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

Preview Lab → · Contrast checker → · Palette generator →

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