#332CBB#332CBB

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

Color values

HEX#332CBB
RGBrgb(51, 44, 187)
HSLhsl(243, 62%, 45%)
HSVhsv(243, 76%, 73%)
CMYKcmyk(72.7%, 76.5%, 0%, 26.7%)
CIE-LABlab(29.64, 48.63, -73.08)
CIE-LCHlch(29.64, 87.78, 303.64°)
OKLaboklab(41.45% 0.0153 -0.2114)
OKLCHoklch(41.45% 0.212 274.1)
XYZxyz(11.2326, 6.0919, 47.5880)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CBB #B4BB2C
analogous
#2C6CBB #332CBB #7A2CBB
triadic
#332CBB #BB332C #2CBB33
tetradic
#332CBB #BB2C6C #B4BB2C #2CBB7A
square
#332CBB #BB2C6C #B4BB2C #2CBB7A
split-complementary
#332CBB #BB7A2C #6CBB2C
monochromatic
#181558 #252089 #332CBB #554FD6 #8580E1

Accessibility & contrast

On white

9.47
#332CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332CBB
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CBB#FFFFFF#000000##FFFFFF
##332CBB1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #332cbb;
/* rgb */ color: rgb(51, 44, 187);
/* oklch */ color: oklch(41.5% 0.212 274.1);
Tailwind
colors: {
  custom: {
    50: '#8068d1',
    500: '#332cbb',
    950: '#000000',
  },
}
SCSS
$custom: #332cbb;
$custom-light: #8068d1;
$custom-dark: #000000;
JSON
{
  "hex": "#332cbb",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 242.937,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.21195,
    "h": 274.1
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#332CBB
secondary
#C6CA79
accent
#E543DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #332CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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