#332BA9#332BA9

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

Color values

HEX#332BA9
RGBrgb(51, 43, 169)
HSLhsl(244, 59%, 42%)
HSVhsv(244, 75%, 66%)
CMYKcmyk(69.8%, 74.6%, 0%, 33.7%)
CIE-LABlab(27.56, 43.37, -65.78)
CIE-LCHlch(27.56, 78.79, 303.40°)
OKLaboklab(39.42% 0.0196 -0.1901)
OKLCHoklch(39.42% 0.191 275.9)
XYZxyz(9.3882, 5.2953, 38.0558)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332BA9 #A1A92B
analogous
#2B62A9 #332BA9 #722BA9
triadic
#332BA9 #A9332B #2BA933
tetradic
#332BA9 #A92B62 #A1A92B #2BA972
square
#332BA9 #A92B62 #A1A92B #2BA972
split-complementary
#332BA9 #A9722B #62A92B
monochromatic
#161247 #241F78 #332BA9 #4B42CF #7A73DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332BA9#FFFFFF#000000##FFFFFF
##332BA91.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)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #332ba9;
/* rgb */ color: rgb(51, 43, 169);
/* oklch */ color: oklch(39.4% 0.191 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c66c4',
    500: '#332ba9',
    950: '#000000',
  },
}
SCSS
$custom: #332ba9;
$custom-light: #7c66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#332ba9",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 243.81,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.19113,
    "h": 275.9
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#332BA9
secondary
#BDC36D
accent
#E345D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #332BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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