#332DC9#332DC9

#332DC9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.1% C 0.227 H 273.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#332DC9
RGBrgb(51, 45, 201)
HSLhsl(242, 63%, 48%)
HSVhsv(242, 78%, 79%)
CMYKcmyk(74.6%, 77.6%, 0%, 21.2%)
CIE-LABlab(31.34, 52.53, -78.51)
CIE-LCHlch(31.34, 94.46, 303.78°)
OKLaboklab(43.09% 0.0119 -0.2272)
OKLCHoklch(43.09% 0.227 273)
XYZxyz(12.8427, 6.7963, 55.8820)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DC9 #C3C92D
analogous
#2D75C9 #332DC9 #812DC9
triadic
#332DC9 #C9332D #2DC933
tetradic
#332DC9 #C92D75 #C3C92D #2DC981
square
#332DC9 #C92D75 #C3C92D #2DC981
split-complementary
#332DC9 #C9812D #75C92D
monochromatic
#1A1765 #262297 #332DC9 #5E59DA #8F8BE5

Accessibility & contrast

On white

8.90
#332DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#332DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DC9
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DC9#FFFFFF#000000##FFFFFF
##332DC91.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332dc9;
/* rgb */ color: rgb(51, 45, 201);
/* oklch */ color: oklch(43.1% 0.227 273.0);
Tailwind
colors: {
  custom: {
    50: '#8369db',
    500: '#332dc9',
    950: '#000000',
  },
}
SCSS
$custom: #332dc9;
$custom-light: #8369db;
$custom-dark: #000000;
JSON
{
  "hex": "#332dc9",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 242.308,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.22749,
    "h": 273
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#332DC9
secondary
#CCCF83
accent
#E641E0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #332DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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