#4E50E5#4E50E5

#4E50E5 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.219 H 275.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4E50E5
RGBrgb(78, 80, 229)
HSLhsl(239, 74%, 60%)
HSVhsv(239, 66%, 90%)
CMYKcmyk(65.9%, 65.1%, 0%, 10.2%)
CIE-LABlab(42.78, 44.76, -75.72)
CIE-LCHlch(42.78, 87.96, 300.59°)
OKLaboklab(52.52% 0.0199 -0.2185)
OKLCHoklch(52.52% 0.219 275.2)
XYZxyz(20.1487, 13.0124, 75.5634)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50E5 #E5E34E
analogous
#4E9CE5 #4E50E5 #974EE5
triadic
#4E50E5 #E54E50 #50E54E
tetradic
#4E50E5 #E54E9C #E5E34E #4EE597
square
#4E50E5 #E54E9C #E5E34E #4EE597
split-complementary
#4E50E5 #E5974E #9CE54E
monochromatic
#1819A1 #1F22D6 #4E50E5 #8385ED #B9BAF5

Accessibility & contrast

On white

5.83
#4E50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50E5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50E5#FFFFFF#000000##FFFFFF
##4E50E51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e50e5;
/* rgb */ color: rgb(78, 80, 229);
/* oklch */ color: oklch(52.5% 0.219 275.2);
Tailwind
colors: {
  custom: {
    50: '#9182ee',
    500: '#4e50e5',
    950: '#000000',
  },
}
SCSS
$custom: #4e50e5;
$custom-light: #9182ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50e5",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 239.205,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.21945,
    "h": 275.2
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#4E50E5
secondary
#E4E4AA
accent
#D40FD7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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