#332DAC#332DAC

#332DAC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.193 H 275.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#332DAC
RGBrgb(51, 45, 172)
HSLhsl(243, 59%, 43%)
HSVhsv(243, 74%, 67%)
CMYKcmyk(70.3%, 73.8%, 0%, 32.5%)
CIE-LABlab(28.27, 43.22, -66.41)
CIE-LCHlch(28.27, 79.24, 303.06°)
OKLaboklab(40.02% 0.0179 -0.192)
OKLCHoklch(40.02% 0.193 275.3)
XYZxyz(9.7476, 5.5582, 39.5809)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DAC #A6AC2D
analogous
#2D66AC #332DAC #732DAC
triadic
#332DAC #AC332D #2DAC33
tetradic
#332DAC #AC2D66 #A6AC2D #2DAC73
square
#332DAC #AC2D66 #A6AC2D #2DAC73
split-complementary
#332DAC #AC732D #66AC2D
monochromatic
#16144B #25207B #332DAC #4E47CF #7C78DC

Accessibility & contrast

On white

9.94
#332DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#332DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DAC
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DAC#FFFFFF#000000##FFFFFF
##332DAC1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332dac;
/* rgb */ color: rgb(51, 45, 172);
/* oklch */ color: oklch(40.0% 0.193 275.3);
Tailwind
colors: {
  custom: {
    50: '#7d68c6',
    500: '#332dac',
    950: '#000000',
  },
}
SCSS
$custom: #332dac;
$custom-light: #7d68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#332dac",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 242.835,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.19282,
    "h": 275.3
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#332DAC
secondary
#C0C471
accent
#E246DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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