#3B2AA1#3B2AA1

#3B2AA1 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.181 H 280.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3B2AA1
RGBrgb(59, 42, 161)
HSLhsl(249, 59%, 40%)
HSVhsv(249, 74%, 63%)
CMYKcmyk(63.4%, 73.9%, 0%, 36.9%)
CIE-LABlab(27.18, 42.30, -61.54)
CIE-LCHlch(27.18, 74.68, 304.50°)
OKLaboklab(39.07% 0.0329 -0.1775)
OKLCHoklch(39.07% 0.181 280.5)
XYZxyz(9.0626, 5.1583, 34.2294)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AA1 #90A12A
analogous
#2A55A1 #3B2AA1 #762AA1
triadic
#3B2AA1 #A13B2A #2AA13B
tetradic
#3B2AA1 #A12A55 #90A12A #2AA176
square
#3B2AA1 #A12A55 #90A12A #2AA176
split-complementary
#3B2AA1 #A1762A #55A12A
monochromatic
#171140 #291D70 #3B2AA1 #513CCC #7C6DD9

Accessibility & contrast

On white

10.34
#3B2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3B2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AA1
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AA1#FFFFFF#000000##FFFFFF
##3B2AA11.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b2aa1;
/* rgb */ color: rgb(59, 42, 161);
/* oklch */ color: oklch(39.1% 0.181 280.5);
Tailwind
colors: {
  custom: {
    50: '#7e66be',
    500: '#3b2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aa1;
$custom-light: #7e66be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aa1",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 248.571,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.18055,
    "h": 280.5
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#3B2AA1
secondary
#B3C067
accent
#E246CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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