#3327A7#3327A7

#3327A7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.193 H 276.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3327A7
RGBrgb(51, 39, 167)
HSLhsl(246, 62%, 40%)
HSVhsv(246, 77%, 65%)
CMYKcmyk(69.5%, 76.6%, 0%, 34.5%)
CIE-LABlab(26.57, 44.92, -66.20)
CIE-LCHlch(26.57, 80.00, 304.16°)
OKLaboklab(38.66% 0.0222 -0.1913)
OKLCHoklch(38.66% 0.193 276.6)
XYZxyz(9.0635, 4.9440, 37.0284)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327A7 #9BA727
analogous
#275BA7 #3327A7 #7327A7
triadic
#3327A7 #A73327 #27A733
tetradic
#3327A7 #A7275B #9BA727 #27A773
square
#3327A7 #A7275B #9BA727 #27A773
split-complementary
#3327A7 #A77327 #5BA727
monochromatic
#151044 #241B75 #3327A7 #483AD1 #766CDD

Accessibility & contrast

On white

10.56
#3327A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3327A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327A7
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327A7#FFFFFF#000000##FFFFFF
##3327A71.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3327a7;
/* rgb */ color: rgb(51, 39, 167);
/* oklch */ color: oklch(38.7% 0.193 276.6);
Tailwind
colors: {
  custom: {
    50: '#7c64c2',
    500: '#3327a7',
    950: '#000000',
  },
}
SCSS
$custom: #3327a7;
$custom-light: #7c64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3327a7",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 245.625,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.19259,
    "h": 276.6
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#3327A7
secondary
#BAC367
accent
#E543D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3327A7

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

Preview Lab → · Contrast checker → · Palette generator →

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