#3328C6#3328C6

#3328C6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.2% C 0.228 H 273.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3328C6
RGBrgb(51, 40, 198)
HSLhsl(244, 66%, 47%)
HSVhsv(244, 80%, 78%)
CMYKcmyk(74.2%, 79.8%, 0%, 22.4%)
CIE-LABlab(30.15, 54.08, -78.72)
CIE-LCHlch(30.15, 95.51, 304.49°)
OKLaboklab(42.16% 0.0144 -0.2277)
OKLCHoklch(42.16% 0.228 273.6)
XYZxyz(12.3137, 6.2973, 53.9817)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328C6 #BBC628
analogous
#286CC6 #3328C6 #8228C6
triadic
#3328C6 #C63328 #28C633
tetradic
#3328C6 #C6286C #BBC628 #28C682
square
#3328C6 #C6286C #BBC628 #28C682
split-complementary
#3328C6 #C68228 #6CC628
monochromatic
#191360 #261E93 #3328C6 #5950DC #8983E6

Accessibility & contrast

On white

9.29
#3328C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3328C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328C6
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328C6#FFFFFF#000000##FFFFFF
##3328C61.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECA
Deuteranopia (green-blind)
#003FC3
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3328c6;
/* rgb */ color: rgb(51, 40, 198);
/* oklch */ color: oklch(42.2% 0.228 273.6);
Tailwind
colors: {
  custom: {
    50: '#8366d9',
    500: '#3328c6',
    950: '#000000',
  },
}
SCSS
$custom: #3328c6;
$custom-light: #8366d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3328c6",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 198
  },
  "hsl": {
    "h": 244.177,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.22818,
    "h": 273.6
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#3328C6
secondary
#C9CF7B
accent
#E93EDD
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3328C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3328C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva