#3B2BA2#3B2BA2

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

Color values

HEX#3B2BA2
RGBrgb(59, 43, 162)
HSLhsl(248, 58%, 40%)
HSVhsv(248, 73%, 64%)
CMYKcmyk(63.6%, 73.5%, 0%, 36.5%)
CIE-LABlab(27.48, 42.06, -61.66)
CIE-LCHlch(27.48, 74.64, 304.30°)
OKLaboklab(39.31% 0.0319 -0.1779)
OKLCHoklch(39.31% 0.181 280.2)
XYZxyz(9.1870, 5.2655, 34.7076)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2BA2 #92A22B
analogous
#2B57A2 #3B2BA2 #762BA2
triadic
#3B2BA2 #A23B2B #2BA23B
tetradic
#3B2BA2 #A22B57 #92A22B #2BA276
square
#3B2BA2 #A22B57 #92A22B #2BA276
split-complementary
#3B2BA2 #A2762B #57A22B
monochromatic
#181141 #291E72 #3B2BA2 #513ECC #7D6FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B2BA2#FFFFFF#000000##FFFFFF
##3B2BA21.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)
#0045A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b2ba2;
/* rgb */ color: rgb(59, 43, 162);
/* oklch */ color: oklch(39.3% 0.181 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e66bf',
    500: '#3b2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ba2;
$custom-light: #7e66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ba2",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 248.067,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.18073,
    "h": 280.2
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#3B2BA2
secondary
#B4C069
accent
#E147CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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