#332CC1#332CC1

#332CC1 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.219 H 273.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#332CC1
RGBrgb(51, 44, 193)
HSLhsl(243, 63%, 46%)
HSVhsv(243, 77%, 76%)
CMYKcmyk(73.6%, 77.2%, 0%, 24.3%)
CIE-LABlab(30.29, 50.53, -75.56)
CIE-LCHlch(30.29, 90.90, 303.77°)
OKLaboklab(42.1% 0.014 -0.2186)
OKLCHoklch(42.1% 0.219 273.7)
XYZxyz(11.8884, 6.3542, 51.0417)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CC1 #BAC12C
analogous
#2C70C1 #332CC1 #7E2CC1
triadic
#332CC1 #C1332C #2CC133
tetradic
#332CC1 #C12C70 #BAC12C #2CC17E
square
#332CC1 #C12C70 #BAC12C #2CC17E
split-complementary
#332CC1 #C17E2C #70C12C
monochromatic
#19155D #26218F #332CC1 #5953D8 #8984E3

Accessibility & contrast

On white

9.25
#332CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#332CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CC1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CC1#FFFFFF#000000##FFFFFF
##332CC11.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC5
Deuteranopia (green-blind)
#0040BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #332cc1;
/* rgb */ color: rgb(51, 44, 193);
/* oklch */ color: oklch(42.1% 0.219 273.7);
Tailwind
colors: {
  custom: {
    50: '#8168d5',
    500: '#332cc1',
    950: '#000000',
  },
}
SCSS
$custom: #332cc1;
$custom-light: #8168d5;
$custom-dark: #000000;
JSON
{
  "hex": "#332cc1",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 242.819,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.21904,
    "h": 273.7
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#332CC1
secondary
#C9CC7D
accent
#E642DE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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