#332ABD#332ABD

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

Color values

HEX#332ABD
RGBrgb(51, 42, 189)
HSLhsl(244, 64%, 45%)
HSVhsv(244, 78%, 74%)
CMYKcmyk(73%, 77.8%, 0%, 25.9%)
CIE-LABlab(29.49, 50.31, -74.51)
CIE-LCHlch(29.49, 89.90, 304.02°)
OKLaboklab(41.41% 0.0157 -0.2155)
OKLCHoklch(41.41% 0.216 274.2)
XYZxyz(11.3755, 6.0327, 48.6992)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332ABD #B4BD2A
analogous
#2A6BBD #332ABD #7C2ABD
triadic
#332ABD #BD332A #2ABD33
tetradic
#332ABD #BD2A6B #B4BD2A #2ABD7C
square
#332ABD #BD2A6B #B4BD2A #2ABD7C
split-complementary
#332ABD #BD7C2A #6BBD2A
monochromatic
#181459 #251F8B #332ABD #554DD7 #857FE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332ABD#FFFFFF#000000##FFFFFF
##332ABD1.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)
#004CC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #332abd;
/* rgb */ color: rgb(51, 42, 189);
/* oklch */ color: oklch(41.4% 0.216 274.2);
Tailwind
colors: {
  custom: {
    50: '#8167d2',
    500: '#332abd',
    950: '#000000',
  },
}
SCSS
$custom: #332abd;
$custom-light: #8167d2;
$custom-dark: #000000;
JSON
{
  "hex": "#332abd",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 243.673,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41412,
    "c": 0.2161,
    "h": 274.2
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#332ABD
secondary
#C6CB78
accent
#E741DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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