#3E2EC3#3E2EC3

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

Color values

HEX#3E2EC3
RGBrgb(62, 46, 195)
HSLhsl(246, 62%, 47%)
HSVhsv(246, 76%, 76%)
CMYKcmyk(68.2%, 76.4%, 0%, 23.5%)
CIE-LABlab(31.62, 51.11, -74.51)
CIE-LCHlch(31.62, 90.36, 304.45°)
OKLaboklab(43.29% 0.0268 -0.2153)
OKLCHoklch(43.29% 0.217 277.1)
XYZxyz(12.8107, 6.9171, 52.2792)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EC3 #B3C32E
analogous
#2E69C3 #3E2EC3 #892EC3
triadic
#3E2EC3 #C33E2E #2EC33E
tetradic
#3E2EC3 #C32E69 #B3C32E #2EC389
square
#3E2EC3 #C32E69 #B3C32E #2EC389
split-complementary
#3E2EC3 #C3892E #69C32E
monochromatic
#1F1760 #2E2291 #3E2EC3 #6557D7 #9288E3

Accessibility & contrast

On white

8.81
#3E2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E2EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EC3
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EC3#FFFFFF#000000##FFFFFF
##3E2EC31.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2ec3;
/* rgb */ color: rgb(62, 46, 195);
/* oklch */ color: oklch(43.3% 0.217 277.1);
Tailwind
colors: {
  custom: {
    50: '#866ad7',
    500: '#3e2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ec3;
$custom-light: #866ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ec3",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 246.443,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43288,
    "c": 0.21698,
    "h": 277.1
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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