#4E56E4#4E56E4

#4E56E4 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.211 H 274.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E56E4
RGBrgb(78, 86, 228)
HSLhsl(237, 74%, 60%)
HSVhsv(237, 66%, 89%)
CMYKcmyk(65.8%, 62.3%, 0%, 10.6%)
CIE-LABlab(44.05, 40.85, -73.08)
CIE-LCHlch(44.05, 83.72, 299.21°)
OKLaboklab(53.42% 0.0156 -0.2107)
OKLCHoklch(53.42% 0.211 274.2)
XYZxyz(20.4686, 13.8749, 74.9832)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56E4 #E4DC4E
analogous
#4EA1E4 #4E56E4 #914EE4
triadic
#4E56E4 #E44E56 #56E44E
tetradic
#4E56E4 #E44EA1 #E4DC4E #4EE491
square
#4E56E4 #E44EA1 #E4DC4E #4EE491
split-complementary
#4E56E4 #E4914E #A1E44E
monochromatic
#18209F #202AD4 #4E56E4 #8389EC #B8BBF4

Accessibility & contrast

On white

5.56
#4E56E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E56E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56E4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56E4#FFFFFF#000000##FFFFFF
##4E56E41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e56e4;
/* rgb */ color: rgb(78, 86, 228);
/* oklch */ color: oklch(53.4% 0.211 274.2);
Tailwind
colors: {
  custom: {
    50: '#9086ee',
    500: '#4e56e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e56e4;
$custom-light: #9086ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56e4",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 236.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.21132,
    "h": 274.2
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#4E56E4
secondary
#E4E1AA
accent
#E638F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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