#332CA9#332CA9

#332CA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.190 H 275.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#332CA9
RGBrgb(51, 44, 169)
HSLhsl(243, 59%, 42%)
HSVhsv(243, 74%, 66%)
CMYKcmyk(69.8%, 74%, 0%, 33.7%)
CIE-LABlab(27.76, 42.80, -65.45)
CIE-LCHlch(27.76, 78.20, 303.19°)
OKLaboklab(39.56% 0.019 -0.1892)
OKLCHoklch(39.56% 0.19 275.7)
XYZxyz(9.4250, 5.3689, 38.0680)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CA9 #A2A92C
analogous
#2C64A9 #332CA9 #722CA9
triadic
#332CA9 #A9332C #2CA933
tetradic
#332CA9 #A92C64 #A2A92C #2CA972
square
#332CA9 #A92C64 #A2A92C #2CA972
split-complementary
#332CA9 #A9722C #64A92C
monochromatic
#161348 #241F78 #332CA9 #4C44CE #7A74DB

Accessibility & contrast

On white

10.13
#332CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#332CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CA9
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CA9#FFFFFF#000000##FFFFFF
##332CA91.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #332ca9;
/* rgb */ color: rgb(51, 44, 169);
/* oklch */ color: oklch(39.6% 0.190 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c67c4',
    500: '#332ca9',
    950: '#000000',
  },
}
SCSS
$custom: #332ca9;
$custom-light: #7c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#332ca9",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 243.36,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39562,
    "c": 0.19012,
    "h": 275.7
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#332CA9
secondary
#BEC36E
accent
#E246D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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