#3B2EB2#3B2EB2

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

Color values

HEX#3B2EB2
RGBrgb(59, 46, 178)
HSLhsl(246, 59%, 44%)
HSVhsv(246, 74%, 70%)
CMYKcmyk(66.9%, 74.2%, 0%, 30.2%)
CIE-LABlab(29.66, 45.49, -67.70)
CIE-LCHlch(29.66, 81.56, 303.90°)
OKLaboklab(41.33% 0.0266 -0.1955)
OKLCHoklch(41.33% 0.197 277.7)
XYZxyz(10.8139, 6.0972, 42.7179)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EB2 #A5B22E
analogous
#2E63B2 #3B2EB2 #7D2EB2
triadic
#3B2EB2 #B23B2E #2EB23B
tetradic
#3B2EB2 #B22E63 #A5B22E #2EB27D
square
#3B2EB2 #B22E63 #A5B22E #2EB27D
split-complementary
#3B2EB2 #B27D2E #63B22E
monochromatic
#1B1551 #2B2181 #3B2EB2 #594CD1 #867DDD

Accessibility & contrast

On white

9.46
#3B2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3B2EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EB2
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EB2#FFFFFF#000000##FFFFFF
##3B2EB21.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3b2eb2;
/* rgb */ color: rgb(59, 46, 178);
/* oklch */ color: oklch(41.3% 0.197 277.7);
Tailwind
colors: {
  custom: {
    50: '#8169ca',
    500: '#3b2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eb2;
$custom-light: #8169ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eb2",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 245.909,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.19733,
    "h": 277.7
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#3B2EB2
secondary
#BEC676
accent
#E246D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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