#3B2DB1#3B2DB1

#3B2DB1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.197 H 278.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3B2DB1
RGBrgb(59, 45, 177)
HSLhsl(246, 59%, 44%)
HSVhsv(246, 75%, 69%)
CMYKcmyk(66.7%, 74.6%, 0%, 30.6%)
CIE-LABlab(29.36, 45.72, -67.58)
CIE-LCHlch(29.36, 81.59, 304.08°)
OKLaboklab(41.09% 0.0274 -0.1952)
OKLCHoklch(41.09% 0.197 278)
XYZxyz(10.6753, 5.9800, 42.1781)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2DB1 #A3B12D
analogous
#2D61B1 #3B2DB1 #7D2DB1
triadic
#3B2DB1 #B13B2D #2DB13B
tetradic
#3B2DB1 #B12D61 #A3B12D #2DB17D
square
#3B2DB1 #B12D61 #A3B12D #2DB17D
split-complementary
#3B2DB1 #B17D2D #61B12D
monochromatic
#1A144F #2B2180 #3B2DB1 #584AD1 #857BDD

Accessibility & contrast

On white

9.56
#3B2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3B2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2DB1
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2DB1#FFFFFF#000000##FFFFFF
##3B2DB11.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b2db1;
/* rgb */ color: rgb(59, 45, 177);
/* oklch */ color: oklch(41.1% 0.197 278.0);
Tailwind
colors: {
  custom: {
    50: '#8168ca',
    500: '#3b2db1',
    950: '#000000',
  },
}
SCSS
$custom: #3b2db1;
$custom-light: #8168ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2db1",
  "rgb": {
    "r": 59,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 246.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.19711,
    "h": 278
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#3B2DB1
secondary
#BDC674
accent
#E345D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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