#332EB6#332EB6

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

Color values

HEX#332EB6
RGBrgb(51, 46, 182)
HSLhsl(242, 60%, 45%)
HSVhsv(242, 75%, 71%)
CMYKcmyk(72%, 74.7%, 0%, 28.6%)
CIE-LABlab(29.50, 45.94, -70.36)
CIE-LCHlch(29.50, 84.02, 303.14°)
OKLaboklab(41.19% 0.0154 -0.2035)
OKLCHoklch(41.19% 0.204 274.3)
XYZxyz(10.7829, 6.0341, 44.8433)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332EB6 #B1B62E
analogous
#2E6DB6 #332EB6 #772EB6
triadic
#332EB6 #B6332E #2EB633
tetradic
#332EB6 #B62E6D #B1B62E #2EB677
square
#332EB6 #B62E6D #B1B62E #2EB677
split-complementary
#332EB6 #B6772E #6DB62E
monochromatic
#181554 #252285 #332EB6 #544FD2 #8380DF

Accessibility & contrast

On white

9.52
#332EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#332EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332EB6
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332EB6#FFFFFF#000000##FFFFFF
##332EB61.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #332eb6;
/* rgb */ color: rgb(51, 46, 182);
/* oklch */ color: oklch(41.2% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f69cd',
    500: '#332eb6',
    950: '#000000',
  },
}
SCSS
$custom: #332eb6;
$custom-light: #7f69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#332eb6",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 242.206,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.20407,
    "h": 274.3
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#332EB6
secondary
#C5C878
accent
#E345DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #332EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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