#332CCC#332CCC

#332CCC is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.3% C 0.232 H 272.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#332CCC
RGBrgb(51, 44, 204)
HSLhsl(243, 65%, 49%)
HSVhsv(243, 78%, 80%)
CMYKcmyk(75%, 78.4%, 0%, 20%)
CIE-LABlab(31.49, 53.96, -80.00)
CIE-LCHlch(31.49, 96.50, 304.00°)
OKLaboklab(43.29% 0.0116 -0.2315)
OKLCHoklch(43.29% 0.232 272.9)
XYZxyz(13.1614, 6.8634, 57.7462)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CCC #C5CC2C
analogous
#2C75CC #332CCC #832CCC
triadic
#332CCC #CC332C #2CCC33
tetradic
#332CCC #CC2C75 #C5CC2C #2CCC83
square
#332CCC #CC2C75 #C5CC2C #2CCC83
split-complementary
#332CCC #CC832C #75CC2C
monochromatic
#1A1667 #26219A #332CCC #5F5ADB #908CE6

Accessibility & contrast

On white

8.85
#332CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#332CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CCC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CCC#FFFFFF#000000##FFFFFF
##332CCC1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D0
Deuteranopia (green-blind)
#0042C9
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #332ccc;
/* rgb */ color: rgb(51, 44, 204);
/* oklch */ color: oklch(43.3% 0.232 272.9);
Tailwind
colors: {
  custom: {
    50: '#8469dd',
    500: '#332ccc',
    950: '#000000',
  },
}
SCSS
$custom: #332ccc;
$custom-light: #8469dd;
$custom-dark: #000000;
JSON
{
  "hex": "#332ccc",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 204
  },
  "hsl": {
    "h": 242.625,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.23179,
    "h": 272.9
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#332CCC
secondary
#CDD083
accent
#E840E0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #332CCC

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

Preview Lab → · Contrast checker → · Palette generator →

#332CCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva