#3B2BAD#3B2BAD

#3B2BAD is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.194 H 278.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3B2BAD
RGBrgb(59, 43, 173)
HSLhsl(247, 60%, 42%)
HSVhsv(247, 75%, 68%)
CMYKcmyk(65.9%, 75.1%, 0%, 32.2%)
CIE-LABlab(28.57, 45.54, -66.49)
CIE-LCHlch(28.57, 80.59, 304.41°)
OKLaboklab(40.41% 0.0295 -0.192)
OKLCHoklch(40.41% 0.194 278.7)
XYZxyz(10.2079, 5.6738, 40.0843)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2BAD #9DAD2B
analogous
#2B5CAD #3B2BAD #7C2BAD
triadic
#3B2BAD #AD3B2B #2BAD3B
tetradic
#3B2BAD #AD2B5C #9DAD2B #2BAD7C
square
#3B2BAD #AD2B5C #9DAD2B #2BAD7C
split-complementary
#3B2BAD #AD7C2B #5CAD2B
monochromatic
#1A134B #2A1F7C #3B2BAD #5645D1 #8276DD

Accessibility & contrast

On white

9.84
#3B2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B2BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2BAD
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2BAD#FFFFFF#000000##FFFFFF
##3B2BAD1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2bad;
/* rgb */ color: rgb(59, 43, 173);
/* oklch */ color: oklch(40.4% 0.194 278.7);
Tailwind
colors: {
  custom: {
    50: '#8067c7',
    500: '#3b2bad',
    950: '#000000',
  },
}
SCSS
$custom: #3b2bad;
$custom-light: #8067c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2bad",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 247.385,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.19424,
    "h": 278.7
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#3B2BAD
secondary
#BAC46F
accent
#E344D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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