#3328C5#3328C5

#3328C5 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.227 H 273.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3328C5
RGBrgb(51, 40, 197)
HSLhsl(244, 66%, 46%)
HSVhsv(244, 80%, 77%)
CMYKcmyk(74.1%, 79.7%, 0%, 22.7%)
CIE-LABlab(30.04, 53.77, -78.32)
CIE-LCHlch(30.04, 95.00, 304.47°)
OKLaboklab(42.05% 0.0146 -0.2266)
OKLCHoklch(42.05% 0.227 273.7)
XYZxyz(12.1987, 6.2514, 53.3762)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328C5 #BAC528
analogous
#286CC5 #3328C5 #8228C5
triadic
#3328C5 #C53328 #28C533
tetradic
#3328C5 #C5286C #BAC528 #28C582
square
#3328C5 #C5286C #BAC528 #28C582
split-complementary
#3328C5 #C58228 #6CC528
monochromatic
#19135F #261E92 #3328C5 #594FDB #8982E6

Accessibility & contrast

On white

9.33
#3328C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3328C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328C5
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328C5#FFFFFF#000000##FFFFFF
##3328C51.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3328c5;
/* rgb */ color: rgb(51, 40, 197);
/* oklch */ color: oklch(42.0% 0.227 273.7);
Tailwind
colors: {
  custom: {
    50: '#8366d8',
    500: '#3328c5',
    950: '#000000',
  },
}
SCSS
$custom: #3328c5;
$custom-light: #8366d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3328c5",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 244.204,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.22704,
    "h": 273.7
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#3328C5
secondary
#C9CE7A
accent
#E93FDD
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3328C5

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

Preview Lab → · Contrast checker → · Palette generator →

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