#332BBE#332BBE

#332BBE is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.216 H 274.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#332BBE
RGBrgb(51, 43, 190)
HSLhsl(243, 63%, 46%)
HSVhsv(243, 77%, 75%)
CMYKcmyk(73.2%, 77.4%, 0%, 25.5%)
CIE-LABlab(29.78, 50.10, -74.62)
CIE-LCHlch(29.78, 89.88, 303.88°)
OKLaboklab(41.65% 0.0151 -0.2159)
OKLCHoklch(41.65% 0.216 274)
XYZxyz(11.5203, 6.1481, 49.2848)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BBE #B6BE2B
analogous
#2B6DBE #332BBE #7C2BBE
triadic
#332BBE #BE332B #2BBE33
tetradic
#332BBE #BE2B6D #B6BE2B #2BBE7C
square
#332BBE #BE2B6D #B6BE2B #2BBE7C
split-complementary
#332BBE #BE7C2B #6DBE2B
monochromatic
#18145A #26208C #332BBE #564FD7 #8681E2

Accessibility & contrast

On white

9.42
#332BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#332BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BBE
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BBE#FFFFFF#000000##FFFFFF
##332BBE1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC2
Deuteranopia (green-blind)
#003FBB
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332bbe;
/* rgb */ color: rgb(51, 43, 190);
/* oklch */ color: oklch(41.6% 0.216 274.0);
Tailwind
colors: {
  custom: {
    50: '#8167d3',
    500: '#332bbe',
    950: '#000000',
  },
}
SCSS
$custom: #332bbe;
$custom-light: #8167d3;
$custom-dark: #000000;
JSON
{
  "hex": "#332bbe",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 243.265,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.2164,
    "h": 274
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#332BBE
secondary
#C7CB7A
accent
#E642DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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