#4E56E1#4E56E1

#4E56E1 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.2% C 0.207 H 274.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E56E1
RGBrgb(78, 86, 225)
HSLhsl(237, 71%, 59%)
HSVhsv(237, 65%, 88%)
CMYKcmyk(65.3%, 61.8%, 0%, 11.8%)
CIE-LABlab(43.81, 39.85, -71.77)
CIE-LCHlch(43.81, 82.09, 299.04°)
OKLaboklab(53.17% 0.0157 -0.2069)
OKLCHoklch(53.17% 0.208 274.3)
XYZxyz(20.0558, 13.7097, 72.8089)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56E1 #E1D94E
analogous
#4E9FE1 #4E56E1 #904EE1
triadic
#4E56E1 #E14E56 #56E14E
tetradic
#4E56E1 #E14E9F #E1D94E #4EE190
square
#4E56E1 #E14E9F #E1D94E #4EE190
split-complementary
#4E56E1 #E1904E #9FE14E
monochromatic
#1A219A #232CCF #4E56E1 #8288EA #B7BAF3

Accessibility & contrast

On white

5.61
#4E56E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E56E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56E1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56E1#FFFFFF#000000##FFFFFF
##4E56E11.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e56e1;
/* rgb */ color: rgb(78, 86, 225);
/* oklch */ color: oklch(53.2% 0.207 274.3);
Tailwind
colors: {
  custom: {
    50: '#9086eb',
    500: '#4e56e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e56e1;
$custom-light: #9086eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56e1",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 236.735,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.2075,
    "h": 274.3
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#4E56E1
secondary
#E2DFA9
accent
#E43AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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