#3B2BAB#3B2BAB

#3B2BAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.192 H 279.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3B2BAB
RGBrgb(59, 43, 171)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(65.5%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.37, 44.91, -65.62)
CIE-LCHlch(28.37, 79.52, 304.39°)
OKLaboklab(40.21% 0.03 -0.1894)
OKLCHoklch(40.21% 0.192 279)
XYZxyz(10.0158, 5.5970, 39.0727)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2BAB #9BAB2B
analogous
#2B5BAB #3B2BAB #7B2BAB
triadic
#3B2BAB #AB3B2B #2BAB3B
tetradic
#3B2BAB #AB2B5B #9BAB2B #2BAB7B
square
#3B2BAB #AB2B5B #9BAB2B #2BAB7B
split-complementary
#3B2BAB #AB7B2B #5BAB2B
monochromatic
#191249 #2A1F7A #3B2BAB #5543D0 #8174DC

Accessibility & contrast

On white

9.91
#3B2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3B2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2BAB
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2BAB#FFFFFF#000000##FFFFFF
##3B2BAB1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2bab;
/* rgb */ color: rgb(59, 43, 171);
/* oklch */ color: oklch(40.2% 0.192 279.0);
Tailwind
colors: {
  custom: {
    50: '#8067c5',
    500: '#3b2bab',
    950: '#000000',
  },
}
SCSS
$custom: #3b2bab;
$custom-light: #8067c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2bab",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 247.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.1918,
    "h": 279
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#3B2BAB
secondary
#B9C46E
accent
#E345CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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