#3B2AB1#3B2AB1

#3B2AB1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.200 H 278.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3B2AB1
RGBrgb(59, 42, 177)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 76%, 69%)
CMYKcmyk(66.7%, 76.3%, 0%, 30.6%)
CIE-LABlab(28.80, 47.32, -68.52)
CIE-LCHlch(28.80, 83.27, 304.63°)
OKLaboklab(40.69% 0.0292 -0.1979)
OKLCHoklch(40.69% 0.2 278.4)
XYZxyz(10.5649, 5.7592, 42.1413)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AB1 #A0B12A
analogous
#2A5CB1 #3B2AB1 #7F2AB1
triadic
#3B2AB1 #B13B2A #2AB13B
tetradic
#3B2AB1 #B12A5C #A0B12A #2AB17F
square
#3B2AB1 #B12A5C #A0B12A #2AB17F
split-complementary
#3B2AB1 #B17F2A #5CB12A
monochromatic
#1A134E #2B1E80 #3B2AB1 #5745D3 #8477DF

Accessibility & contrast

On white

9.76
#3B2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3B2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AB1
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AB1#FFFFFF#000000##FFFFFF
##3B2AB11.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2ab1;
/* rgb */ color: rgb(59, 42, 177);
/* oklch */ color: oklch(40.7% 0.200 278.4);
Tailwind
colors: {
  custom: {
    50: '#8167ca',
    500: '#3b2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ab1;
$custom-light: #8167ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ab1",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 247.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.20003,
    "h": 278.4
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#3B2AB1
secondary
#BCC670
accent
#E543D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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