#3B2AA4#3B2AA4

#3B2AA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.184 H 280.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3B2AA4
RGBrgb(59, 42, 164)
HSLhsl(248, 59%, 40%)
HSVhsv(248, 74%, 64%)
CMYKcmyk(64%, 74.4%, 0%, 35.7%)
CIE-LABlab(27.48, 43.25, -62.87)
CIE-LCHlch(27.48, 76.31, 304.52°)
OKLaboklab(39.37% 0.0322 -0.1814)
OKLCHoklch(39.37% 0.184 280.1)
XYZxyz(9.3303, 5.2654, 35.6394)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AA4 #93A42A
analogous
#2A56A4 #3B2AA4 #782AA4
triadic
#3B2AA4 #A43B2A #2AA43B
tetradic
#3B2AA4 #A42A56 #93A42A #2AA478
square
#3B2AA4 #A42A56 #93A42A #2AA478
split-complementary
#3B2AA4 #A4782A #56A42A
monochromatic
#181143 #291E73 #3B2AA4 #523ECD #7D6EDA

Accessibility & contrast

On white

10.23
#3B2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3B2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AA4
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AA4#FFFFFF#000000##FFFFFF
##3B2AA41.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b2aa4;
/* rgb */ color: rgb(59, 42, 164);
/* oklch */ color: oklch(39.4% 0.184 280.1);
Tailwind
colors: {
  custom: {
    50: '#7f66c0',
    500: '#3b2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aa4;
$custom-light: #7f66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aa4",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 248.361,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.18425,
    "h": 280.1
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#3B2AA4
secondary
#B5C169
accent
#E245CD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#3B2AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva