#4E56E7#4E56E7

#4E56E7 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.215 H 274.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4E56E7
RGBrgb(78, 86, 231)
HSLhsl(237, 76%, 61%)
HSVhsv(237, 66%, 91%)
CMYKcmyk(66.2%, 62.8%, 0%, 9.4%)
CIE-LABlab(44.29, 41.85, -74.38)
CIE-LCHlch(44.29, 85.34, 299.36°)
OKLaboklab(53.68% 0.0154 -0.2146)
OKLCHoklch(53.68% 0.215 274.1)
XYZxyz(20.8887, 14.0429, 77.1955)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56E7 #E7DF4E
analogous
#4EA2E7 #4E56E7 #934EE7
triadic
#4E56E7 #E74E56 #56E74E
tetradic
#4E56E7 #E74EA2 #E7DF4E #4EE793
square
#4E56E7 #E74EA2 #E7DF4E #4EE793
split-complementary
#4E56E7 #E7934E #A2E74E
monochromatic
#161EA4 #1E27DA #4E56E7 #8489EE #BABDF6

Accessibility & contrast

On white

5.51
#4E56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4E56E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56E7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56E7#FFFFFF#000000##FFFFFF
##4E56E71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e56e7;
/* rgb */ color: rgb(78, 86, 231);
/* oklch */ color: oklch(53.7% 0.215 274.1);
Tailwind
colors: {
  custom: {
    50: '#9186f0',
    500: '#4e56e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e56e7;
$custom-light: #9186f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56e7",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 236.863,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.21513,
    "h": 274.1
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#4E56E7
secondary
#E5E2AB
accent
#CE0DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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