#3327A3#3327A3

#3327A3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.188 H 277.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3327A3
RGBrgb(51, 39, 163)
HSLhsl(246, 61%, 40%)
HSVhsv(246, 76%, 64%)
CMYKcmyk(68.7%, 76.1%, 0%, 36.1%)
CIE-LABlab(26.15, 43.64, -64.47)
CIE-LCHlch(26.15, 77.85, 304.09°)
OKLaboklab(38.24% 0.0231 -0.1863)
OKLCHoklch(38.24% 0.188 277.1)
XYZxyz(8.6995, 4.7984, 35.1110)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327A3 #97A327
analogous
#2759A3 #3327A3 #7127A3
triadic
#3327A3 #A33327 #27A333
tetradic
#3327A3 #A32759 #97A327 #27A371
square
#3327A3 #A32759 #97A327 #27A371
split-complementary
#3327A3 #A37127 #59A327
monochromatic
#140F40 #241B72 #3327A3 #4738CF #7469DB

Accessibility & contrast

On white

10.72
#3327A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3327A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327A3
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327A3#FFFFFF#000000##FFFFFF
##3327A31.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3327a3;
/* rgb */ color: rgb(51, 39, 163);
/* oklch */ color: oklch(38.2% 0.188 277.1);
Tailwind
colors: {
  custom: {
    50: '#7b64bf',
    500: '#3327a3',
    950: '#000000',
  },
}
SCSS
$custom: #3327a3;
$custom-light: #7b64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3327a3",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 245.806,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.18772,
    "h": 277.1
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3327A3

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

Preview Lab → · Contrast checker → · Palette generator →

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