#3B2BAA#3B2BAA

#3B2BAA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.191 H 279.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3B2BAA
RGBrgb(59, 43, 170)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(65.3%, 74.7%, 0%, 33.3%)
CIE-LABlab(28.27, 44.59, -65.19)
CIE-LCHlch(28.27, 78.98, 304.38°)
OKLaboklab(40.11% 0.0302 -0.1882)
OKLCHoklch(40.11% 0.191 279.1)
XYZxyz(9.9209, 5.5590, 38.5726)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2BAA #9AAA2B
analogous
#2B5BAA #3B2BAA #7B2BAA
triadic
#3B2BAA #AA3B2B #2BAA3B
tetradic
#3B2BAA #AA2B5B #9AAA2B #2BAA7B
square
#3B2BAA #AA2B5B #9AAA2B #2BAA7B
split-complementary
#3B2BAA #AA7B2B #5BAA2B
monochromatic
#191248 #2A1F79 #3B2BAA #5543CF #8174DC

Accessibility & contrast

On white

9.94
#3B2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3B2BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2BAA
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2BAA#FFFFFF#000000##FFFFFF
##3B2BAA1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2baa;
/* rgb */ color: rgb(59, 43, 170);
/* oklch */ color: oklch(40.1% 0.191 279.1);
Tailwind
colors: {
  custom: {
    50: '#8067c4',
    500: '#3b2baa',
    950: '#000000',
  },
}
SCSS
$custom: #3b2baa;
$custom-light: #8067c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2baa",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 247.559,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.19059,
    "h": 279.1
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#3B2BAA
secondary
#B8C36E
accent
#E345CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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