#4E3EC4#4E3EC4

#4E3EC4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.8% C 0.199 H 280.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4E3EC4
RGBrgb(78, 62, 196)
HSLhsl(247, 53%, 51%)
HSVhsv(247, 68%, 77%)
CMYKcmyk(60.2%, 68.4%, 0%, 23.1%)
CIE-LABlab(36.08, 44.67, -67.71)
CIE-LCHlch(36.08, 81.12, 303.41°)
OKLaboklab(46.8% 0.0375 -0.1951)
OKLCHoklch(46.8% 0.199 280.9)
XYZxyz(14.8252, 9.0494, 53.1793)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EC4 #B4C43E
analogous
#3E71C4 #4E3EC4 #913EC4
triadic
#4E3EC4 #C44E3E #3EC44E
tetradic
#4E3EC4 #C43E71 #B4C43E #3EC491
square
#4E3EC4 #C43E71 #B4C43E #3EC491
split-complementary
#4E3EC4 #C4913E #71C43E
monochromatic
#282068 #3B2E97 #4E3EC4 #796DD2 #A49CE1

Accessibility & contrast

On white

7.47
#4E3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E3EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EC4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EC4#FFFFFF#000000##FFFFFF
##4E3EC41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e3ec4;
/* rgb */ color: rgb(78, 62, 196);
/* oklch */ color: oklch(46.8% 0.199 280.9);
Tailwind
colors: {
  custom: {
    50: '#8c75d7',
    500: '#4e3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ec4;
$custom-light: #8c75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ec4",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 247.164,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.19865,
    "h": 280.9
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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