#3E2EC5#3E2EC5

#3E2EC5 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.219 H 276.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3E2EC5
RGBrgb(62, 46, 197)
HSLhsl(246, 62%, 48%)
HSVhsv(246, 77%, 77%)
CMYKcmyk(68.5%, 76.6%, 0%, 22.7%)
CIE-LABlab(31.83, 51.72, -75.34)
CIE-LCHlch(31.83, 91.39, 304.47°)
OKLaboklab(43.5% 0.0263 -0.2177)
OKLCHoklch(43.5% 0.219 276.9)
XYZxyz(13.0384, 7.0082, 53.4781)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EC5 #B5C52E
analogous
#2E69C5 #3E2EC5 #8A2EC5
triadic
#3E2EC5 #C53E2E #2EC53E
tetradic
#3E2EC5 #C52E69 #B5C52E #2EC58A
square
#3E2EC5 #C52E69 #B5C52E #2EC58A
split-complementary
#3E2EC5 #C58A2E #69C52E
monochromatic
#1F1762 #2E2293 #3E2EC5 #6658D8 #938AE4

Accessibility & contrast

On white

8.74
#3E2EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3E2EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EC5
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EC5#FFFFFF#000000##FFFFFF
##3E2EC51.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2ec5;
/* rgb */ color: rgb(62, 46, 197);
/* oklch */ color: oklch(43.5% 0.219 276.9);
Tailwind
colors: {
  custom: {
    50: '#866ad8',
    500: '#3e2ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ec5;
$custom-light: #866ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ec5",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 246.358,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43496,
    "c": 0.21931,
    "h": 276.9
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#3E2EC5
secondary
#C5CE81
accent
#E543D4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E2EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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