#332DB6#332DB6

#332DB6 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.205 H 274.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#332DB6
RGBrgb(51, 45, 182)
HSLhsl(243, 60%, 45%)
HSVhsv(243, 75%, 71%)
CMYKcmyk(72%, 75.3%, 0%, 28.6%)
CIE-LABlab(29.30, 46.49, -70.68)
CIE-LCHlch(29.30, 84.60, 303.33°)
OKLaboklab(41.06% 0.0159 -0.2044)
OKLCHoklch(41.06% 0.205 274.4)
XYZxyz(10.7443, 5.9569, 44.8305)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DB6 #B0B62D
analogous
#2D6BB6 #332DB6 #782DB6
triadic
#332DB6 #B6332D #2DB633
tetradic
#332DB6 #B62D6B #B0B62D #2DB678
square
#332DB6 #B62D6B #B0B62D #2DB678
split-complementary
#332DB6 #B6782D #6BB62D
monochromatic
#181554 #252185 #332DB6 #534DD3 #827EDF

Accessibility & contrast

On white

9.58
#332DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#332DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DB6
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DB6#FFFFFF#000000##FFFFFF
##332DB61.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332db6;
/* rgb */ color: rgb(51, 45, 182);
/* oklch */ color: oklch(41.1% 0.205 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f68cd',
    500: '#332db6',
    950: '#000000',
  },
}
SCSS
$custom: #332db6;
$custom-light: #7f68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#332db6",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 242.628,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.20504,
    "h": 274.4
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#332DB6
secondary
#C4C877
accent
#E344DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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