#332BBF#332BBF

#332BBF is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.218 H 273.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#332BBF
RGBrgb(51, 43, 191)
HSLhsl(243, 63%, 46%)
HSVhsv(243, 77%, 75%)
CMYKcmyk(73.3%, 77.5%, 0%, 25.1%)
CIE-LABlab(29.89, 50.42, -75.03)
CIE-LCHlch(29.89, 90.40, 303.90°)
OKLaboklab(41.75% 0.0149 -0.2171)
OKLCHoklch(41.75% 0.218 273.9)
XYZxyz(11.6300, 6.1920, 49.8624)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BBF #B7BF2B
analogous
#2B6DBF #332BBF #7D2BBF
triadic
#332BBF #BF332B #2BBF33
tetradic
#332BBF #BF2B6D #B7BF2B #2BBF7D
square
#332BBF #BF2B6D #B7BF2B #2BBF7D
split-complementary
#332BBF #BF7D2B #6DBF2B
monochromatic
#18155B #26208D #332BBF #5750D8 #8782E3

Accessibility & contrast

On white

9.38
#332BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#332BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332BBF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332BBF#FFFFFF#000000##FFFFFF
##332BBF1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#003FBC
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332bbf;
/* rgb */ color: rgb(51, 43, 191);
/* oklch */ color: oklch(41.8% 0.218 273.9);
Tailwind
colors: {
  custom: {
    50: '#8167d4',
    500: '#332bbf',
    950: '#000000',
  },
}
SCSS
$custom: #332bbf;
$custom-light: #8167d4;
$custom-dark: #000000;
JSON
{
  "hex": "#332bbf",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 243.243,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.21757,
    "h": 273.9
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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