#3327B1#3327B1

#3327B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.205 H 275.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3327B1
RGBrgb(51, 39, 177)
HSLhsl(245, 64%, 42%)
HSVhsv(245, 78%, 69%)
CMYKcmyk(71.2%, 78%, 0%, 30.6%)
CIE-LABlab(27.65, 48.08, -70.43)
CIE-LCHlch(27.65, 85.28, 304.32°)
OKLaboklab(39.73% 0.0198 -0.2036)
OKLCHoklch(39.73% 0.205 275.6)
XYZxyz(10.0240, 5.3282, 42.0866)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327B1 #A5B127
analogous
#2760B1 #3327B1 #7827B1
triadic
#3327B1 #B13327 #27B133
tetradic
#3327B1 #B12760 #A5B127 #27B178
square
#3327B1 #B12760 #A5B127 #27B178
split-complementary
#3327B1 #B17827 #60B127
monochromatic
#16114D #251C7F #3327B1 #4D40D5 #7C72E0

Accessibility & contrast

On white

10.17
#3327B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3327B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327B1
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327B1#FFFFFF#000000##FFFFFF
##3327B11.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3327b1;
/* rgb */ color: rgb(51, 39, 177);
/* oklch */ color: oklch(39.7% 0.205 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e64ca',
    500: '#3327b1',
    950: '#000000',
  },
}
SCSS
$custom: #3327b1;
$custom-light: #7e64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3327b1",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 245.217,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.20459,
    "h": 275.6
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#3327B1
secondary
#BFC76D
accent
#E741D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3327B1

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

Preview Lab → · Contrast checker → · Palette generator →

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