#3B2EC5#3B2EC5

#3B2EC5 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.3% C 0.220 H 275.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3B2EC5
RGBrgb(59, 46, 197)
HSLhsl(245, 62%, 48%)
HSVhsv(245, 77%, 77%)
CMYKcmyk(70.1%, 76.6%, 0%, 22.7%)
CIE-LABlab(31.61, 51.44, -75.70)
CIE-LCHlch(31.61, 91.53, 304.20°)
OKLaboklab(43.29% 0.0223 -0.2189)
OKLCHoklch(43.29% 0.22 275.8)
XYZxyz(12.8554, 6.9138, 53.4695)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EC5 #B8C52E
analogous
#2E6CC5 #3B2EC5 #872EC5
triadic
#3B2EC5 #C53B2E #2EC53B
tetradic
#3B2EC5 #C52E6C #B8C52E #2EC587
square
#3B2EC5 #C52E6C #B8C52E #2EC587
split-complementary
#3B2EC5 #C5872E #6CC52E
monochromatic
#1D1762 #2C2293 #3B2EC5 #6358D8 #928AE4

Accessibility & contrast

On white

8.81
#3B2EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3B2EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EC5
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EC5#FFFFFF#000000##FFFFFF
##3B2EC51.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C9
Deuteranopia (green-blind)
#0044C2
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b2ec5;
/* rgb */ color: rgb(59, 46, 197);
/* oklch */ color: oklch(43.3% 0.220 275.8);
Tailwind
colors: {
  custom: {
    50: '#856ad8',
    500: '#3b2ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ec5;
$custom-light: #856ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ec5",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 245.166,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.22,
    "h": 275.8
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#3B2EC5
secondary
#C7CE81
accent
#E543D7
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3B2EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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