#3327AB#3327AB

#3327AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.197 H 276.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3327AB
RGBrgb(51, 39, 171)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 77%, 67%)
CMYKcmyk(70.2%, 77.2%, 0%, 32.9%)
CIE-LABlab(27.00, 46.19, -67.90)
CIE-LCHlch(27.00, 82.12, 304.23°)
OKLaboklab(39.09% 0.0213 -0.1963)
OKLCHoklch(39.09% 0.197 276.2)
XYZxyz(9.4390, 5.0942, 39.0060)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327AB #9FAB27
analogous
#275DAB #3327AB #7527AB
triadic
#3327AB #AB3327 #27AB33
tetradic
#3327AB #AB275D #9FAB27 #27AB75
square
#3327AB #AB275D #9FAB27 #27AB75
split-complementary
#3327AB #AB7527 #5DAB27
monochromatic
#151047 #241C79 #3327AB #4A3DD3 #796EDE

Accessibility & contrast

On white

10.40
#3327AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3327AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327AB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327AB#FFFFFF#000000##FFFFFF
##3327AB1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3327ab;
/* rgb */ color: rgb(51, 39, 171);
/* oklch */ color: oklch(39.1% 0.197 276.2);
Tailwind
colors: {
  custom: {
    50: '#7d64c5',
    500: '#3327ab',
    950: '#000000',
  },
}
SCSS
$custom: #3327ab;
$custom-light: #7d64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3327ab",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 245.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.19743,
    "h": 276.2
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3327AB

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

Preview Lab → · Contrast checker → · Palette generator →

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