#4E3EC5#4E3EC5

#4E3EC5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.9% C 0.200 H 280.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4E3EC5
RGBrgb(78, 62, 197)
HSLhsl(247, 54%, 51%)
HSVhsv(247, 69%, 77%)
CMYKcmyk(60.4%, 68.5%, 0%, 22.7%)
CIE-LABlab(36.17, 44.98, -68.15)
CIE-LCHlch(36.17, 81.66, 303.42°)
OKLaboklab(46.89% 0.0373 -0.1964)
OKLCHoklch(46.89% 0.2 280.8)
XYZxyz(14.9394, 9.0951, 53.7808)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EC5 #B5C53E
analogous
#3E71C5 #4E3EC5 #913EC5
triadic
#4E3EC5 #C54E3E #3EC54E
tetradic
#4E3EC5 #C53E71 #B5C53E #3EC591
square
#4E3EC5 #C53E71 #B5C53E #3EC591
split-complementary
#4E3EC5 #C5913E #71C53E
monochromatic
#282069 #3A2E98 #4E3EC5 #796DD3 #A49CE1

Accessibility & contrast

On white

7.45
#4E3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E3EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EC5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EC5#FFFFFF#000000##FFFFFF
##4E3EC51.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e3ec5;
/* rgb */ color: rgb(78, 62, 197);
/* oklch */ color: oklch(46.9% 0.200 280.8);
Tailwind
colors: {
  custom: {
    50: '#8d75d8',
    500: '#4e3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ec5;
$custom-light: #8d75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ec5",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 247.111,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46894,
    "c": 0.19989,
    "h": 280.8
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#4E3EC5
secondary
#C6CD91
accent
#DD4BCC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4E3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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