#332CC9#332CC9

#332CC9 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.0% C 0.228 H 273.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#332CC9
RGBrgb(51, 44, 201)
HSLhsl(243, 64%, 48%)
HSVhsv(243, 78%, 79%)
CMYKcmyk(74.6%, 78.1%, 0%, 21.2%)
CIE-LABlab(31.16, 53.03, -78.80)
CIE-LCHlch(31.16, 94.98, 303.94°)
OKLaboklab(42.97% 0.0123 -0.228)
OKLCHoklch(42.97% 0.228 273.1)
XYZxyz(12.8050, 6.7209, 55.8694)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CC9 #C2C92C
analogous
#2C73C9 #332CC9 #812CC9
triadic
#332CC9 #C9332C #2CC933
tetradic
#332CC9 #C92C73 #C2C92C #2CC981
square
#332CC9 #C92C73 #C2C92C #2CC981
split-complementary
#332CC9 #C9812C #73C92C
monochromatic
#1A1665 #262197 #332CC9 #5E58DA #8E8AE5

Accessibility & contrast

On white

8.96
#332CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#332CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CC9
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CC9#FFFFFF#000000##FFFFFF
##332CC91.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0042C6
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #332cc9;
/* rgb */ color: rgb(51, 44, 201);
/* oklch */ color: oklch(43.0% 0.228 273.1);
Tailwind
colors: {
  custom: {
    50: '#8369db',
    500: '#332cc9',
    950: '#000000',
  },
}
SCSS
$custom: #332cc9;
$custom-light: #8369db;
$custom-dark: #000000;
JSON
{
  "hex": "#332cc9",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 242.675,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.22834,
    "h": 273.1
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#332CC9
secondary
#CCCF82
accent
#E741E0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #332CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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