#332CAE#332CAE

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

Color values

HEX#332CAE
RGBrgb(51, 44, 174)
HSLhsl(243, 60%, 43%)
HSVhsv(243, 75%, 68%)
CMYKcmyk(70.7%, 74.7%, 0%, 31.8%)
CIE-LABlab(28.27, 44.44, -67.60)
CIE-LCHlch(28.27, 80.90, 303.32°)
OKLaboklab(40.08% 0.018 -0.1955)
OKLCHoklch(40.08% 0.196 275.3)
XYZxyz(9.9034, 5.5602, 40.5875)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332CAE #A7AE2C
analogous
#2C66AE #332CAE #742CAE
triadic
#332CAE #AE332C #2CAE33
tetradic
#332CAE #AE2C66 #A7AE2C #2CAE74
square
#332CAE #AE2C66 #A7AE2C #2CAE74
split-complementary
#332CAE #AE742C #66AE2C
monochromatic
#16134C #25207D #332CAE #4E47D0 #7D78DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332CAE#FFFFFF#000000##FFFFFF
##332CAE1.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)
#0048B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #332cae;
/* rgb */ color: rgb(51, 44, 174);
/* oklch */ color: oklch(40.1% 0.196 275.3);
Tailwind
colors: {
  custom: {
    50: '#7d67c7',
    500: '#332cae',
    950: '#000000',
  },
}
SCSS
$custom: #332cae;
$custom-light: #7d67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#332cae",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 243.231,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.19628,
    "h": 275.3
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#332CAE
secondary
#C0C571
accent
#E345DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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