#4E3EC2#4E3EC2

#4E3EC2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.6% C 0.196 H 281.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E3EC2
RGBrgb(78, 62, 194)
HSLhsl(247, 52%, 50%)
HSVhsv(247, 68%, 76%)
CMYKcmyk(59.8%, 68%, 0%, 23.9%)
CIE-LABlab(35.91, 44.04, -66.83)
CIE-LCHlch(35.91, 80.04, 303.39°)
OKLaboklab(46.63% 0.0378 -0.1925)
OKLCHoklch(46.63% 0.196 281.1)
XYZxyz(14.5991, 8.9590, 51.9884)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EC2 #B2C23E
analogous
#3E70C2 #4E3EC2 #903EC2
triadic
#4E3EC2 #C24E3E #3EC24E
tetradic
#4E3EC2 #C23E70 #B2C23E #3EC290
square
#4E3EC2 #C23E70 #B2C23E #3EC290
split-complementary
#4E3EC2 #C2903E #70C23E
monochromatic
#292066 #3B2F94 #4E3EC2 #796DD1 #A39BDF

Accessibility & contrast

On white

7.52
#4E3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E3EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EC2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EC2#FFFFFF#000000##FFFFFF
##4E3EC21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e3ec2;
/* rgb */ color: rgb(78, 62, 194);
/* oklch */ color: oklch(46.6% 0.196 281.1);
Tailwind
colors: {
  custom: {
    50: '#8c75d6',
    500: '#4e3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ec2;
$custom-light: #8c75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ec2",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 247.273,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.19617,
    "h": 281.1
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#4E3EC2
secondary
#C4CB90
accent
#DB4CCA
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#4E3EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva