#3B2EC3#3B2EC3

#3B2EC3 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.1% C 0.218 H 276.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3B2EC3
RGBrgb(59, 46, 195)
HSLhsl(245, 62%, 47%)
HSVhsv(245, 76%, 76%)
CMYKcmyk(69.7%, 76.4%, 0%, 23.5%)
CIE-LABlab(31.40, 50.82, -74.88)
CIE-LCHlch(31.40, 90.50, 304.17°)
OKLaboklab(43.08% 0.0228 -0.2165)
OKLCHoklch(43.08% 0.218 276)
XYZxyz(12.6277, 6.8228, 52.2706)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EC3 #B6C32E
analogous
#2E6BC3 #3B2EC3 #862EC3
triadic
#3B2EC3 #C33B2E #2EC33B
tetradic
#3B2EC3 #C32E6B #B6C32E #2EC386
square
#3B2EC3 #C32E6B #B6C32E #2EC386
split-complementary
#3B2EC3 #C3862E #6BC32E
monochromatic
#1D1760 #2C2291 #3B2EC3 #6257D7 #9088E3

Accessibility & contrast

On white

8.88
#3B2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3B2EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EC3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EC3#FFFFFF#000000##FFFFFF
##3B2EC31.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0043C0
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b2ec3;
/* rgb */ color: rgb(59, 46, 195);
/* oklch */ color: oklch(43.1% 0.218 276.0);
Tailwind
colors: {
  custom: {
    50: '#856ad7',
    500: '#3b2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ec3;
$custom-light: #856ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ec3",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 245.235,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.21766,
    "h": 276
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#3B2EC3
secondary
#C6CD80
accent
#E543D7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3B2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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