#332CB1#332CB1

#332CB1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.200 H 275.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#332CB1
RGBrgb(51, 44, 177)
HSLhsl(243, 60%, 43%)
HSVhsv(243, 75%, 69%)
CMYKcmyk(71.2%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.59, 45.42, -68.88)
CIE-LCHlch(28.59, 82.51, 303.40°)
OKLaboklab(40.39% 0.0174 -0.1992)
OKLCHoklch(40.39% 0.2 275)
XYZxyz(10.1991, 5.6785, 42.1450)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB1 #AAB12C
analogous
#2C67B1 #332CB1 #752CB1
triadic
#332CB1 #B1332C #2CB133
tetradic
#332CB1 #B12C67 #AAB12C #2CB175
square
#332CB1 #B12C67 #AAB12C #2CB175
split-complementary
#332CB1 #B1752C #67B12C
monochromatic
#17144F #252080 #332CB1 #5049D2 #7F7ADE

Accessibility & contrast

On white

9.83
#332CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332CB1
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB1#FFFFFF#000000##FFFFFF
##332CB11.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332cb1;
/* rgb */ color: rgb(51, 44, 177);
/* oklch */ color: oklch(40.4% 0.200 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e67ca',
    500: '#332cb1',
    950: '#000000',
  },
}
SCSS
$custom: #332cb1;
$custom-light: #7e67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb1",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 243.158,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.19994,
    "h": 275
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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