#332DB5#332DB5

#332DB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.204 H 274.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#332DB5
RGBrgb(51, 45, 181)
HSLhsl(243, 60%, 44%)
HSVhsv(243, 75%, 71%)
CMYKcmyk(71.8%, 75.1%, 0%, 29%)
CIE-LABlab(29.20, 46.16, -70.26)
CIE-LCHlch(29.20, 84.07, 303.31°)
OKLaboklab(40.95% 0.0161 -0.2032)
OKLCHoklch(40.95% 0.204 274.5)
XYZxyz(10.6414, 5.9157, 44.2881)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DB5 #AFB52D
analogous
#2D6BB5 #332DB5 #772DB5
triadic
#332DB5 #B5332D #2DB533
tetradic
#332DB5 #B52D6B #AFB52D #2DB577
square
#332DB5 #B52D6B #AFB52D #2DB577
split-complementary
#332DB5 #B5772D #6BB52D
monochromatic
#171553 #252184 #332DB5 #524DD3 #827EDF

Accessibility & contrast

On white

9.62
#332DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332DB5
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DB5#FFFFFF#000000##FFFFFF
##332DB51.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332db5;
/* rgb */ color: rgb(51, 45, 181);
/* oklch */ color: oklch(41.0% 0.204 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f68cc',
    500: '#332db5',
    950: '#000000',
  },
}
SCSS
$custom: #332db5;
$custom-light: #7f68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#332db5",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 242.647,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.20383,
    "h": 274.5
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#332DB5
secondary
#C4C776
accent
#E344DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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