#3327A5#3327A5

#3327A5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.190 H 276.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3327A5
RGBrgb(51, 39, 165)
HSLhsl(246, 62%, 40%)
HSVhsv(246, 76%, 65%)
CMYKcmyk(69.1%, 76.4%, 0%, 35.3%)
CIE-LABlab(26.36, 44.28, -65.34)
CIE-LCHlch(26.36, 78.93, 304.13°)
OKLaboklab(38.45% 0.0227 -0.1888)
OKLCHoklch(38.45% 0.19 276.8)
XYZxyz(8.8801, 4.8707, 36.0622)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327A5 #99A527
analogous
#275AA5 #3327A5 #7227A5
triadic
#3327A5 #A53327 #27A533
tetradic
#3327A5 #A5275A #99A527 #27A572
square
#3327A5 #A5275A #99A527 #27A572
split-complementary
#3327A5 #A57227 #5AA527
monochromatic
#141042 #241B74 #3327A5 #4739D0 #756ADC

Accessibility & contrast

On white

10.64
#3327A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3327A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327A5
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327A5#FFFFFF#000000##FFFFFF
##3327A51.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3327a5;
/* rgb */ color: rgb(51, 39, 165);
/* oklch */ color: oklch(38.4% 0.190 276.8);
Tailwind
colors: {
  custom: {
    50: '#7c64c1',
    500: '#3327a5',
    950: '#000000',
  },
}
SCSS
$custom: #3327a5;
$custom-light: #7c64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3327a5",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 245.714,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.19016,
    "h": 276.8
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#3327A5
secondary
#B9C266
accent
#E543D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3327A5

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

Preview Lab → · Contrast checker → · Palette generator →

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