#3327B4#3327B4

#3327B4 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.208 H 275.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3327B4
RGBrgb(51, 39, 180)
HSLhsl(245, 64%, 43%)
HSVhsv(245, 78%, 71%)
CMYKcmyk(71.7%, 78.3%, 0%, 29.4%)
CIE-LABlab(27.98, 49.02, -71.68)
CIE-LCHlch(27.98, 86.84, 304.37°)
OKLaboklab(40.06% 0.0191 -0.2073)
OKLCHoklch(40.06% 0.208 275.3)
XYZxyz(10.3263, 5.4491, 43.6788)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327B4 #A8B427
analogous
#2762B4 #3327B4 #7927B4
triadic
#3327B4 #B43327 #27B433
tetradic
#3327B4 #B42762 #A8B427 #27B479
square
#3327B4 #B42762 #A8B427 #27B479
split-complementary
#3327B4 #B47927 #62B427
monochromatic
#16114F #251C82 #3327B4 #4F42D6 #7E74E1

Accessibility & contrast

On white

10.05
#3327B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3327B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327B4
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327B4#FFFFFF#000000##FFFFFF
##3327B41.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3327b4;
/* rgb */ color: rgb(51, 39, 180);
/* oklch */ color: oklch(40.1% 0.208 275.3);
Tailwind
colors: {
  custom: {
    50: '#7f65cc',
    500: '#3327b4',
    950: '#000000',
  },
}
SCSS
$custom: #3327b4;
$custom-light: #7f65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3327b4",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 245.106,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.20814,
    "h": 275.3
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#3327B4
secondary
#C1C86F
accent
#E740D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3327B4

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

Preview Lab → · Contrast checker → · Palette generator →

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