#3D2EC4#3D2EC4

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

Color values

HEX#3D2EC4
RGBrgb(61, 46, 196)
HSLhsl(246, 62%, 47%)
HSVhsv(246, 77%, 77%)
CMYKcmyk(68.9%, 76.5%, 0%, 23.1%)
CIE-LABlab(31.65, 51.32, -75.05)
CIE-LCHlch(31.65, 90.92, 304.37°)
OKLaboklab(43.32% 0.0252 -0.2169)
OKLCHoklch(43.32% 0.218 276.6)
XYZxyz(12.8620, 6.9304, 52.8737)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EC4 #B5C42E
analogous
#2E6AC4 #3D2EC4 #882EC4
triadic
#3D2EC4 #C43D2E #2EC43D
tetradic
#3D2EC4 #C42E6A #B5C42E #2EC488
square
#3D2EC4 #C42E6A #B5C42E #2EC488
split-complementary
#3D2EC4 #C4882E #6AC42E
monochromatic
#1E1761 #2E2292 #3D2EC4 #6458D8 #9289E3

Accessibility & contrast

On white

8.80
#3D2EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3D2EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EC4
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EC4#FFFFFF#000000##FFFFFF
##3D2EC41.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d2ec4;
/* rgb */ color: rgb(61, 46, 196);
/* oklch */ color: oklch(43.3% 0.218 276.6);
Tailwind
colors: {
  custom: {
    50: '#866ad7',
    500: '#3d2ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ec4;
$custom-light: #866ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ec4",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 246,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.21837,
    "h": 276.6
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#3D2EC4
secondary
#C5CD81
accent
#E543D5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3D2EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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