#332ED0#332ED0

#332ED0 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 44.0% C 0.235 H 272.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#332ED0
RGBrgb(51, 46, 208)
HSLhsl(242, 64%, 50%)
HSVhsv(242, 78%, 82%)
CMYKcmyk(75.5%, 77.9%, 0%, 18.4%)
CIE-LABlab(32.28, 54.20, -81.03)
CIE-LCHlch(32.28, 97.48, 303.78°)
OKLaboklab(43.97% 0.0101 -0.2345)
OKLCHoklch(43.97% 0.235 272.5)
XYZxyz(13.7236, 7.2104, 60.3308)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332ED0 #CBD02E
analogous
#2E7AD0 #332ED0 #842ED0
triadic
#332ED0 #D0332E #2ED033
tetradic
#332ED0 #D02E7A #CBD02E #2ED084
square
#332ED0 #D02E7A #CBD02E #2ED084
split-complementary
#332ED0 #D0842E #7AD02E
monochromatic
#1A186C #27239E #332ED0 #635FDC #9492E7

Accessibility & contrast

On white

8.60
#332ED0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#332ED0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332ED0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332ED0#FFFFFF#000000##FFFFFF
##332ED01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D5
Deuteranopia (green-blind)
#0044CD
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #332ed0;
/* rgb */ color: rgb(51, 46, 208);
/* oklch */ color: oklch(44.0% 0.235 272.5);
Tailwind
colors: {
  custom: {
    50: '#856ae0',
    500: '#332ed0',
    950: '#000000',
  },
}
SCSS
$custom: #332ed0;
$custom-light: #856ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#332ed0",
  "rgb": {
    "r": 51,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 241.852,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.23472,
    "h": 272.5
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#332ED0
secondary
#CFD288
accent
#E741E2
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #332ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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