#332DA9#332DA9

#332DA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.189 H 275.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#332DA9
RGBrgb(51, 45, 169)
HSLhsl(243, 58%, 42%)
HSVhsv(243, 73%, 66%)
CMYKcmyk(69.8%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.96, 42.23, -65.11)
CIE-LCHlch(27.96, 77.61, 302.97°)
OKLaboklab(39.71% 0.0184 -0.1882)
OKLCHoklch(39.71% 0.189 275.6)
XYZxyz(9.4627, 5.4443, 38.0806)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332DA9 #A3A92D
analogous
#2D65A9 #332DA9 #712DA9
triadic
#332DA9 #A9332D #2DA933
tetradic
#332DA9 #A92D65 #A3A92D #2DA971
square
#332DA9 #A92D65 #A3A92D #2DA971
split-complementary
#332DA9 #A9712D #65A92D
monochromatic
#161348 #242079 #332DA9 #4C46CE #7B76DA

Accessibility & contrast

On white

10.05
#332DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#332DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332DA9
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332DA9#FFFFFF#000000##FFFFFF
##332DA91.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #332da9;
/* rgb */ color: rgb(51, 45, 169);
/* oklch */ color: oklch(39.7% 0.189 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c68c4',
    500: '#332da9',
    950: '#000000',
  },
}
SCSS
$custom: #332da9;
$custom-light: #7c68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#332da9",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 242.903,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.18909,
    "h": 275.6
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#332DA9
secondary
#BEC26F
accent
#E147DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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