#332CB5#332CB5

#332CB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.205 H 274.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#332CB5
RGBrgb(51, 44, 181)
HSLhsl(243, 61%, 44%)
HSVhsv(243, 76%, 71%)
CMYKcmyk(71.8%, 75.7%, 0%, 29%)
CIE-LABlab(29.01, 46.71, -70.58)
CIE-LCHlch(29.01, 84.63, 303.50°)
OKLaboklab(40.81% 0.0166 -0.2041)
OKLCHoklch(40.81% 0.205 274.6)
XYZxyz(10.6037, 5.8403, 44.2756)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB5 #AEB52C
analogous
#2C6AB5 #332CB5 #782CB5
triadic
#332CB5 #B5332C #2CB533
tetradic
#332CB5 #B52C6A #AEB52C #2CB578
square
#332CB5 #B52C6A #AEB52C #2CB578
split-complementary
#332CB5 #B5782C #6AB52C
monochromatic
#171453 #252084 #332CB5 #524BD3 #817CDF

Accessibility & contrast

On white

9.69
#332CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#332CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB5
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB5#FFFFFF#000000##FFFFFF
##332CB51.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332cb5;
/* rgb */ color: rgb(51, 44, 181);
/* oklch */ color: oklch(40.8% 0.205 274.6);
Tailwind
colors: {
  custom: {
    50: '#7f68cc',
    500: '#332cb5',
    950: '#000000',
  },
}
SCSS
$custom: #332cb5;
$custom-light: #7f68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb5",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 243.066,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.20478,
    "h": 274.6
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#332CB5
secondary
#C3C875
accent
#E444DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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