#332CB2#332CB2

#332CB2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.201 H 274.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#332CB2
RGBrgb(51, 44, 178)
HSLhsl(243, 60%, 44%)
HSVhsv(243, 75%, 70%)
CMYKcmyk(71.3%, 75.3%, 0%, 30.2%)
CIE-LABlab(28.69, 45.74, -69.31)
CIE-LCHlch(28.69, 83.04, 303.42°)
OKLaboklab(40.5% 0.0172 -0.2004)
OKLCHoklch(40.5% 0.201 274.9)
XYZxyz(10.2991, 5.7185, 42.6719)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB2 #ABB22C
analogous
#2C68B2 #332CB2 #762CB2
triadic
#332CB2 #B2332C #2CB233
tetradic
#332CB2 #B22C68 #ABB22C #2CB276
square
#332CB2 #B22C68 #ABB22C #2CB276
split-complementary
#332CB2 #B2762C #68B22C
monochromatic
#171450 #252081 #332CB2 #5049D2 #7F7ADE

Accessibility & contrast

On white

9.79
#332CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#332CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB2
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB2#FFFFFF#000000##FFFFFF
##332CB21.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #332cb2;
/* rgb */ color: rgb(51, 44, 178);
/* oklch */ color: oklch(40.5% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#7e67ca',
    500: '#332cb2',
    950: '#000000',
  },
}
SCSS
$custom: #332cb2;
$custom-light: #7e67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb2",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 243.134,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.20116,
    "h": 274.9
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#332CB2
secondary
#C2C673
accent
#E444DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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