#3B2BB1#3B2BB1

#3B2BB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.8% C 0.199 H 278.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3B2BB1
RGBrgb(59, 43, 177)
HSLhsl(247, 61%, 43%)
HSVhsv(247, 76%, 69%)
CMYKcmyk(66.7%, 75.7%, 0%, 30.6%)
CIE-LABlab(28.98, 46.79, -68.21)
CIE-LCHlch(28.98, 82.72, 304.45°)
OKLaboklab(40.82% 0.0286 -0.197)
OKLCHoklch(40.82% 0.199 278.3)
XYZxyz(10.6008, 5.8310, 42.1533)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2BB1 #A1B12B
analogous
#2B5EB1 #3B2BB1 #7E2BB1
triadic
#3B2BB1 #B13B2B #2BB13B
tetradic
#3B2BB1 #B12B5E #A1B12B #2BB17E
square
#3B2BB1 #B12B5E #A1B12B #2BB17E
split-complementary
#3B2BB1 #B17E2B #5EB12B
monochromatic
#1A134F #2B1F80 #3B2BB1 #5847D2 #8478DE

Accessibility & contrast

On white

9.69
#3B2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2BB1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2BB1#FFFFFF#000000##FFFFFF
##3B2BB11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2bb1;
/* rgb */ color: rgb(59, 43, 177);
/* oklch */ color: oklch(40.8% 0.199 278.3);
Tailwind
colors: {
  custom: {
    50: '#8167ca',
    500: '#3b2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3b2bb1;
$custom-light: #8167ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2bb1",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 247.164,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.19907,
    "h": 278.3
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#3B2BB1
secondary
#BCC672
accent
#E444D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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