#332BBD#332BBD

#332BBD is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.215 H 274.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#332BBD
RGBrgb(51, 43, 189)
HSLhsl(243, 63%, 45%)
HSVhsv(243, 77%, 74%)
CMYKcmyk(73%, 77.2%, 0%, 25.9%)
CIE-LABlab(29.67, 49.79, -74.21)
CIE-LCHlch(29.67, 89.37, 303.86°)
OKLaboklab(41.54% 0.0153 -0.2147)
OKLCHoklch(41.54% 0.215 274.1)
XYZxyz(11.4114, 6.1045, 48.7111)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BBD #B5BD2B
analogous
#2B6CBD #332BBD #7C2BBD
triadic
#332BBD #BD332B #2BBD33
tetradic
#332BBD #BD2B6C #B5BD2B #2BBD7C
square
#332BBD #BD2B6C #B5BD2B #2BBD7C
split-complementary
#332BBD #BD7C2B #6CBD2B
monochromatic
#181459 #26208B #332BBD #564ED7 #8680E2

Accessibility & contrast

On white

9.45
#332BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#332BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BBD
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BBD#FFFFFF#000000##FFFFFF
##332BBD1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332bbd;
/* rgb */ color: rgb(51, 43, 189);
/* oklch */ color: oklch(41.5% 0.215 274.1);
Tailwind
colors: {
  custom: {
    50: '#8167d2',
    500: '#332bbd',
    950: '#000000',
  },
}
SCSS
$custom: #332bbd;
$custom-light: #8167d2;
$custom-dark: #000000;
JSON
{
  "hex": "#332bbd",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 243.288,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.21523,
    "h": 274.1
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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