#4E50E7#4E50E7

#4E50E7 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.222 H 275.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E50E7
RGBrgb(78, 80, 231)
HSLhsl(239, 76%, 61%)
HSVhsv(239, 66%, 91%)
CMYKcmyk(66.2%, 65.4%, 0%, 9.4%)
CIE-LABlab(42.95, 45.41, -76.58)
CIE-LCHlch(42.95, 89.03, 300.67°)
OKLaboklab(52.69% 0.0197 -0.221)
OKLCHoklch(52.69% 0.222 275.1)
XYZxyz(20.4296, 13.1247, 77.0425)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50E7 #E7E54E
analogous
#4E9CE7 #4E50E7 #994EE7
triadic
#4E50E7 #E74E50 #50E74E
tetradic
#4E50E7 #E74E9C #E7E54E #4EE799
square
#4E50E7 #E74E9C #E7E54E #4EE799
split-complementary
#4E50E7 #E7994E #9CE74E
monochromatic
#1618A4 #1E20DA #4E50E7 #8485EE #BABBF6

Accessibility & contrast

On white

5.79
#4E50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50E7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50E7#FFFFFF#000000##FFFFFF
##4E50E71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e50e7;
/* rgb */ color: rgb(78, 80, 231);
/* oklch */ color: oklch(52.7% 0.222 275.1);
Tailwind
colors: {
  custom: {
    50: '#9182f0',
    500: '#4e50e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e50e7;
$custom-light: #9182f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50e7",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 239.216,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.22193,
    "h": 275.1
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#4E50E7
secondary
#E5E5AB
accent
#D60DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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