#332DAE#332DAE

#332DAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.195 H 275.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#332DAE
RGBrgb(51, 45, 174)
HSLhsl(243, 59%, 43%)
HSVhsv(243, 74%, 68%)
CMYKcmyk(70.7%, 74.1%, 0%, 31.8%)
CIE-LABlab(28.47, 43.88, -67.27)
CIE-LCHlch(28.47, 80.32, 303.12°)
OKLaboklab(40.22% 0.0175 -0.1945)
OKLCHoklch(40.22% 0.195 275.1)
XYZxyz(9.9411, 5.6356, 40.6001)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DAE #A8AE2D
analogous
#2D67AE #332DAE #742DAE
triadic
#332DAE #AE332D #2DAE33
tetradic
#332DAE #AE2D67 #A8AE2D #2DAE74
square
#332DAE #AE2D67 #A8AE2D #2DAE74
split-complementary
#332DAE #AE742D #67AE2D
monochromatic
#16144D #25207D #332DAE #4F48D0 #7E79DC

Accessibility & contrast

On white

9.87
#332DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#332DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DAE
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DAE#FFFFFF#000000##FFFFFF
##332DAE1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332dae;
/* rgb */ color: rgb(51, 45, 174);
/* oklch */ color: oklch(40.2% 0.195 275.1);
Tailwind
colors: {
  custom: {
    50: '#7d68c7',
    500: '#332dae',
    950: '#000000',
  },
}
SCSS
$custom: #332dae;
$custom-light: #7d68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#332dae",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 242.791,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.19528,
    "h": 275.1
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#332DAE
secondary
#C1C472
accent
#E246DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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