#332CB6#332CB6

#332CB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.206 H 274.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#332CB6
RGBrgb(51, 44, 182)
HSLhsl(243, 61%, 44%)
HSVhsv(243, 76%, 71%)
CMYKcmyk(72%, 75.8%, 0%, 28.6%)
CIE-LABlab(29.11, 47.03, -71.00)
CIE-LCHlch(29.11, 85.16, 303.52°)
OKLaboklab(40.92% 0.0164 -0.2053)
OKLCHoklch(40.92% 0.206 274.6)
XYZxyz(10.7066, 5.8815, 44.8179)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CB6 #AFB62C
analogous
#2C6AB6 #332CB6 #782CB6
triadic
#332CB6 #B6332C #2CB633
tetradic
#332CB6 #B62C6A #AFB62C #2CB678
square
#332CB6 #B62C6A #AFB62C #2CB678
split-complementary
#332CB6 #B6782C #6AB62C
monochromatic
#171453 #252085 #332CB6 #524CD4 #827DE0

Accessibility & contrast

On white

9.65
#332CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#332CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332CB6
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CB6#FFFFFF#000000##FFFFFF
##332CB61.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #332cb6;
/* rgb */ color: rgb(51, 44, 182);
/* oklch */ color: oklch(40.9% 0.206 274.6);
Tailwind
colors: {
  custom: {
    50: '#7f68cd',
    500: '#332cb6',
    950: '#000000',
  },
}
SCSS
$custom: #332cb6;
$custom-light: #7f68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#332cb6",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 243.043,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.20598,
    "h": 274.6
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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