#332DA5#332DA5

#332DA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.184 H 276.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#332DA5
RGBrgb(51, 45, 165)
HSLhsl(243, 57%, 41%)
HSVhsv(243, 73%, 65%)
CMYKcmyk(69.1%, 72.7%, 0%, 35.3%)
CIE-LABlab(27.56, 40.91, -63.36)
CIE-LCHlch(27.56, 75.42, 302.85°)
OKLaboklab(39.3% 0.0192 -0.1831)
OKLCHoklch(39.3% 0.184 276)
XYZxyz(9.0929, 5.2964, 36.1331)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DA5 #9FA52D
analogous
#2D63A5 #332DA5 #6F2DA5
triadic
#332DA5 #A5332D #2DA533
tetradic
#332DA5 #A52D63 #9FA52D #2DA56F
square
#332DA5 #A52D63 #9FA52D #2DA56F
split-complementary
#332DA5 #A56F2D #63A52D
monochromatic
#151345 #242075 #332DA5 #4A43CC #7973D9

Accessibility & contrast

On white

10.20
#332DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#332DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DA5
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DA5#FFFFFF#000000##FFFFFF
##332DA51.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #332da5;
/* rgb */ color: rgb(51, 45, 165);
/* oklch */ color: oklch(39.3% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#7b67c1',
    500: '#332da5',
    950: '#000000',
  },
}
SCSS
$custom: #332da5;
$custom-light: #7b67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#332da5",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 243,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.393,
    "c": 0.18408,
    "h": 276
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#332DA5
secondary
#BCC16D
accent
#E047D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #332DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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