#3B2AA3#3B2AA3

#3B2AA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.183 H 280.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#3B2AA3
RGBrgb(59, 42, 163)
HSLhsl(248, 59%, 40%)
HSVhsv(248, 74%, 64%)
CMYKcmyk(63.8%, 74.2%, 0%, 36.1%)
CIE-LABlab(27.38, 42.93, -62.43)
CIE-LCHlch(27.38, 75.77, 304.52°)
OKLaboklab(39.27% 0.0324 -0.1801)
OKLCHoklch(39.27% 0.183 280.2)
XYZxyz(9.2404, 5.2294, 35.1657)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AA3 #92A32A
analogous
#2A55A3 #3B2AA3 #782AA3
triadic
#3B2AA3 #A33B2A #2AA33B
tetradic
#3B2AA3 #A32A55 #92A32A #2AA378
square
#3B2AA3 #A32A55 #92A32A #2AA378
split-complementary
#3B2AA3 #A3782A #55A32A
monochromatic
#181142 #291D72 #3B2AA3 #513DCD #7D6EDA

Accessibility & contrast

On white

10.26
#3B2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2AA3
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AA3#FFFFFF#000000##FFFFFF
##3B2AA31.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b2aa3;
/* rgb */ color: rgb(59, 42, 163);
/* oklch */ color: oklch(39.3% 0.183 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e66bf',
    500: '#3b2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aa3;
$custom-light: #7e66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aa3",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 248.43,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.18302,
    "h": 280.2
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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