#3B2AA6#3B2AA6

#3B2AA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.6% C 0.187 H 279.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3B2AA6
RGBrgb(59, 42, 166)
HSLhsl(248, 60%, 41%)
HSVhsv(248, 75%, 65%)
CMYKcmyk(64.5%, 74.7%, 0%, 34.9%)
CIE-LABlab(27.68, 43.88, -63.75)
CIE-LCHlch(27.68, 77.39, 304.54°)
OKLaboklab(39.57% 0.0317 -0.184)
OKLCHoklch(39.57% 0.187 279.8)
XYZxyz(9.5123, 5.3382, 36.5981)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AA6 #95A62A
analogous
#2A57A6 #3B2AA6 #792AA6
triadic
#3B2AA6 #A63B2A #2AA63B
tetradic
#3B2AA6 #A62A57 #95A62A #2AA679
square
#3B2AA6 #A62A57 #95A62A #2AA679
split-complementary
#3B2AA6 #A6792A #57A62A
monochromatic
#181144 #2A1E75 #3B2AA6 #533FCE #7E70DB

Accessibility & contrast

On white

10.16
#3B2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3B2AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AA6
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AA6#FFFFFF#000000##FFFFFF
##3B2AA61.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b2aa6;
/* rgb */ color: rgb(59, 42, 166);
/* oklch */ color: oklch(39.6% 0.187 279.8);
Tailwind
colors: {
  custom: {
    50: '#7f66c2',
    500: '#3b2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aa6;
$custom-light: #7f66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aa6",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 248.226,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.18671,
    "h": 279.8
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#3B2AA6
secondary
#B6C26A
accent
#E345CD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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