#332CB9#332CB9

#332CB9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.210 H 274.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#332CB9
RGBrgb(51, 44, 185)
HSLhsl(243, 62%, 45%)
HSVhsv(243, 76%, 73%)
CMYKcmyk(72.4%, 76.2%, 0%, 27.5%)
CIE-LABlab(29.43, 47.99, -72.25)
CIE-LCHlch(29.43, 86.74, 303.59°)
OKLaboklab(41.24% 0.0157 -0.209)
OKLCHoklch(41.24% 0.21 274.3)
XYZxyz(11.0200, 6.0069, 46.4682)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB9 #B2B92C
analogous
#2C6BB9 #332CB9 #7A2CB9
triadic
#332CB9 #B9332C #2CB933
tetradic
#332CB9 #B92C6B #B2B92C #2CB97A
square
#332CB9 #B92C6B #B2B92C #2CB97A
split-complementary
#332CB9 #B97A2C #6BB92C
monochromatic
#181456 #252088 #332CB9 #544DD5 #847FE1

Accessibility & contrast

On white

9.54
#332CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#332CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB9
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB9#FFFFFF#000000##FFFFFF
##332CB91.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #332cb9;
/* rgb */ color: rgb(51, 44, 185);
/* oklch */ color: oklch(41.2% 0.210 274.3);
Tailwind
colors: {
  custom: {
    50: '#8068cf',
    500: '#332cb9',
    950: '#000000',
  },
}
SCSS
$custom: #332cb9;
$custom-light: #8068cf;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb9",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 242.979,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.20957,
    "h": 274.3
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#332CB9
secondary
#C5C978
accent
#E543DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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