#3327A2#3327A2

#3327A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.186 H 277.2°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3327A2
RGBrgb(51, 39, 162)
HSLhsl(246, 61%, 39%)
HSVhsv(246, 76%, 64%)
CMYKcmyk(68.5%, 75.9%, 0%, 36.5%)
CIE-LABlab(26.05, 43.32, -64.04)
CIE-LCHlch(26.05, 77.31, 304.08°)
OKLaboklab(38.13% 0.0234 -0.185)
OKLCHoklch(38.13% 0.187 277.2)
XYZxyz(8.6102, 4.7627, 34.6410)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327A2 #96A227
analogous
#2758A2 #3327A2 #7127A2
triadic
#3327A2 #A23327 #27A233
tetradic
#3327A2 #A22758 #96A227 #27A271
square
#3327A2 #A22758 #96A227 #27A271
split-complementary
#3327A2 #A27127 #58A227
monochromatic
#140F3F #231B71 #3327A2 #4637CF #7469DB

Accessibility & contrast

On white

10.75
#3327A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3327A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327A2
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327A2#FFFFFF#000000##FFFFFF
##3327A21.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)
#0043A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3327a2;
/* rgb */ color: rgb(51, 39, 162);
/* oklch */ color: oklch(38.1% 0.186 277.2);
Tailwind
colors: {
  custom: {
    50: '#7b64bf',
    500: '#3327a2',
    950: '#000000',
  },
}
SCSS
$custom: #3327a2;
$custom-light: #7b64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3327a2",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 245.854,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.1865,
    "h": 277.2
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#3327A2
secondary
#B8C164
accent
#E443D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3327A2

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

Preview Lab → · Contrast checker → · Palette generator →

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