#3E2EC4#3E2EC4

#3E2EC4 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.218 H 277.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3E2EC4
RGBrgb(62, 46, 196)
HSLhsl(246, 62%, 47%)
HSVhsv(246, 77%, 77%)
CMYKcmyk(68.4%, 76.5%, 0%, 23.1%)
CIE-LABlab(31.72, 51.42, -74.93)
CIE-LCHlch(31.72, 90.87, 304.46°)
OKLaboklab(43.39% 0.0265 -0.2165)
OKLCHoklch(43.39% 0.218 277)
XYZxyz(12.9242, 6.9625, 52.8766)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EC4 #B4C42E
analogous
#2E69C4 #3E2EC4 #892EC4
triadic
#3E2EC4 #C43E2E #2EC43E
tetradic
#3E2EC4 #C42E69 #B4C42E #2EC489
square
#3E2EC4 #C42E69 #B4C42E #2EC489
split-complementary
#3E2EC4 #C4892E #69C42E
monochromatic
#1F1761 #2E2292 #3E2EC4 #6558D8 #9389E3

Accessibility & contrast

On white

8.78
#3E2EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2EC4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EC4#FFFFFF#000000##FFFFFF
##3E2EC41.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2ec4;
/* rgb */ color: rgb(62, 46, 196);
/* oklch */ color: oklch(43.4% 0.218 277.0);
Tailwind
colors: {
  custom: {
    50: '#866ad7',
    500: '#3e2ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ec4;
$custom-light: #866ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ec4",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 246.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43392,
    "c": 0.21814,
    "h": 277
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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