#3B2DB3#3B2DB3

#3B2DB3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.200 H 277.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3B2DB3
RGBrgb(59, 45, 179)
HSLhsl(246, 60%, 44%)
HSVhsv(246, 75%, 70%)
CMYKcmyk(67%, 74.9%, 0%, 29.8%)
CIE-LABlab(29.56, 46.35, -68.44)
CIE-LCHlch(29.56, 82.66, 304.10°)
OKLaboklab(41.3% 0.027 -0.1977)
OKLCHoklch(41.3% 0.2 277.8)
XYZxyz(10.8761, 6.0603, 43.2357)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2DB3 #A5B32D
analogous
#2D62B3 #3B2DB3 #7E2DB3
triadic
#3B2DB3 #B33B2D #2DB33B
tetradic
#3B2DB3 #B32D62 #A5B32D #2DB37E
square
#3B2DB3 #B32D62 #A5B32D #2DB37E
split-complementary
#3B2DB3 #B37E2D #62B32D
monochromatic
#1B1451 #2B2182 #3B2DB3 #594BD2 #867CDE

Accessibility & contrast

On white

9.49
#3B2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3B2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2DB3
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2DB3#FFFFFF#000000##FFFFFF
##3B2DB31.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3b2db3;
/* rgb */ color: rgb(59, 45, 179);
/* oklch */ color: oklch(41.3% 0.200 277.8);
Tailwind
colors: {
  custom: {
    50: '#8168cb',
    500: '#3b2db3',
    950: '#000000',
  },
}
SCSS
$custom: #3b2db3;
$custom-light: #8168cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2db3",
  "rgb": {
    "r": 59,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 246.269,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.19953,
    "h": 277.8
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#3B2DB3
secondary
#BEC775
accent
#E345D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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