#332CBA#332CBA

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

Color values

HEX#332CBA
RGBrgb(51, 44, 186)
HSLhsl(243, 62%, 45%)
HSVhsv(243, 76%, 73%)
CMYKcmyk(72.6%, 76.3%, 0%, 27.1%)
CIE-LABlab(29.54, 48.31, -72.67)
CIE-LCHlch(29.54, 87.26, 303.62°)
OKLaboklab(41.35% 0.0155 -0.2102)
OKLCHoklch(41.35% 0.211 274.2)
XYZxyz(11.1259, 6.0492, 47.0261)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CBA #B3BA2C
analogous
#2C6CBA #332CBA #7A2CBA
triadic
#332CBA #BA332C #2CBA33
tetradic
#332CBA #BA2C6C #B3BA2C #2CBA7A
square
#332CBA #BA2C6C #B3BA2C #2CBA7A
split-complementary
#332CBA #BA7A2C #6CBA2C
monochromatic
#181557 #252089 #332CBA #554ED5 #8480E1

Accessibility & contrast

On white

9.50
#332CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332CBA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332CBA#FFFFFF#000000##FFFFFF
##332CBA1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332cba;
/* rgb */ color: rgb(51, 44, 186);
/* oklch */ color: oklch(41.3% 0.211 274.2);
Tailwind
colors: {
  custom: {
    50: '#8068d0',
    500: '#332cba',
    950: '#000000',
  },
}
SCSS
$custom: #332cba;
$custom-light: #8068d0;
$custom-dark: #000000;
JSON
{
  "hex": "#332cba",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 242.958,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41345,
    "c": 0.21077,
    "h": 274.2
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #332CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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