#3E2ED4#3E2ED4

#3E2ED4 is a mid, highly saturated blue. Relative luminance 0.077; OKLCH L 45.1% C 0.237 H 275.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3E2ED4
RGBrgb(62, 46, 212)
HSLhsl(246, 66%, 51%)
HSVhsv(246, 78%, 83%)
CMYKcmyk(70.8%, 78.3%, 0%, 16.9%)
CIE-LABlab(33.41, 56.26, -81.45)
CIE-LCHlch(33.41, 98.99, 304.64°)
OKLaboklab(45.08% 0.0227 -0.2355)
OKLCHoklch(45.08% 0.237 275.5)
XYZxyz(14.8434, 7.7302, 62.9844)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2ED4 #C4D42E
analogous
#2E71D4 #3E2ED4 #912ED4
triadic
#3E2ED4 #D43E2E #2ED43E
tetradic
#3E2ED4 #D42E71 #C4D42E #2ED491
square
#3E2ED4 #D42E71 #C4D42E #2ED491
split-complementary
#3E2ED4 #D4912E #71D42E
monochromatic
#201770 #2E22A3 #3E2ED4 #6D61DE #9C94E9

Accessibility & contrast

On white

8.25
#3E2ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3E2ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2ED4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2ED4#FFFFFF#000000##FFFFFF
##3E2ED41.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0047D1
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e2ed4;
/* rgb */ color: rgb(62, 46, 212);
/* oklch */ color: oklch(45.1% 0.237 275.5);
Tailwind
colors: {
  custom: {
    50: '#8a6be3',
    500: '#3e2ed4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ed4;
$custom-light: #8a6be3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ed4",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 212
  },
  "hsl": {
    "h": 245.783,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.23657,
    "h": 275.5
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#3E2ED4
secondary
#CDD48A
accent
#E93FD8
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3E2ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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