#3D2EC2#3D2EC2

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

Color values

HEX#3D2EC2
RGBrgb(61, 46, 194)
HSLhsl(246, 62%, 47%)
HSVhsv(246, 76%, 76%)
CMYKcmyk(68.6%, 76.3%, 0%, 23.9%)
CIE-LABlab(31.44, 50.71, -74.22)
CIE-LCHlch(31.44, 89.89, 304.34°)
OKLaboklab(43.11% 0.0257 -0.2145)
OKLCHoklch(43.11% 0.216 276.8)
XYZxyz(12.6359, 6.8400, 51.6828)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EC2 #B3C22E
analogous
#2E69C2 #3D2EC2 #872EC2
triadic
#3D2EC2 #C23D2E #2EC23D
tetradic
#3D2EC2 #C22E69 #B3C22E #2EC287
square
#3D2EC2 #C22E69 #B3C22E #2EC287
split-complementary
#3D2EC2 #C2872E #69C22E
monochromatic
#1E175F #2D2291 #3D2EC2 #6356D7 #9188E3

Accessibility & contrast

On white

8.87
#3D2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3D2EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EC2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EC2#FFFFFF#000000##FFFFFF
##3D2EC21.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d2ec2;
/* rgb */ color: rgb(61, 46, 194);
/* oklch */ color: oklch(43.1% 0.216 276.8);
Tailwind
colors: {
  custom: {
    50: '#856ad6',
    500: '#3d2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ec2;
$custom-light: #856ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ec2",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 246.081,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.21602,
    "h": 276.8
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#3D2EC2
secondary
#C5CC7F
accent
#E543D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3D2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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