#3B2EC2#3B2EC2

#3B2EC2 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.216 H 276.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3B2EC2
RGBrgb(59, 46, 194)
HSLhsl(245, 62%, 47%)
HSVhsv(245, 76%, 76%)
CMYKcmyk(69.6%, 76.3%, 0%, 23.9%)
CIE-LABlab(31.30, 50.51, -74.46)
CIE-LCHlch(31.30, 89.98, 304.15°)
OKLaboklab(42.98% 0.023 -0.2152)
OKLCHoklch(42.98% 0.216 276.1)
XYZxyz(12.5150, 6.7777, 51.6772)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EC2 #B5C22E
analogous
#2E6BC2 #3B2EC2 #852EC2
triadic
#3B2EC2 #C23B2E #2EC23B
tetradic
#3B2EC2 #C22E6B #B5C22E #2EC285
square
#3B2EC2 #C22E6B #B5C22E #2EC285
split-complementary
#3B2EC2 #C2852E #6BC22E
monochromatic
#1D175F #2C2291 #3B2EC2 #6256D7 #9088E3

Accessibility & contrast

On white

8.91
#3B2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2EC2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EC2#FFFFFF#000000##FFFFFF
##3B2EC21.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b2ec2;
/* rgb */ color: rgb(59, 46, 194);
/* oklch */ color: oklch(43.0% 0.216 276.1);
Tailwind
colors: {
  custom: {
    50: '#856ad6',
    500: '#3b2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ec2;
$custom-light: #856ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ec2",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 245.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42975,
    "c": 0.21648,
    "h": 276.1
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#3B2EC2
secondary
#C6CC7F
accent
#E543D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3B2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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