#3B2AB2#3B2AB2

#3B2AB2 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.201 H 278.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3B2AB2
RGBrgb(59, 42, 178)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 76%, 70%)
CMYKcmyk(66.9%, 76.4%, 0%, 30.2%)
CIE-LABlab(28.90, 47.63, -68.94)
CIE-LCHlch(28.90, 83.79, 304.64°)
OKLaboklab(40.8% 0.0289 -0.1991)
OKLCHoklch(40.8% 0.201 278.3)
XYZxyz(10.6649, 5.7992, 42.6682)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AB2 #A1B22A
analogous
#2A5DB2 #3B2AB2 #7F2AB2
triadic
#3B2AB2 #B23B2A #2AB23B
tetradic
#3B2AB2 #B22A5D #A1B22A #2AB27F
square
#3B2AB2 #B22A5D #A1B22A #2AB27F
split-complementary
#3B2AB2 #B27F2A #5DB22A
monochromatic
#1A134F #2B1E80 #3B2AB2 #5846D3 #8477DF

Accessibility & contrast

On white

9.72
#3B2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3B2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AB2
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AB2#FFFFFF#000000##FFFFFF
##3B2AB21.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2ab2;
/* rgb */ color: rgb(59, 42, 178);
/* oklch */ color: oklch(40.8% 0.201 278.3);
Tailwind
colors: {
  custom: {
    50: '#8267ca',
    500: '#3b2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ab2;
$custom-light: #8267ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ab2",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 247.5,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.20122,
    "h": 278.3
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#3B2AB2
secondary
#BCC771
accent
#E543D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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