#4E56E9#4E56E9

#4E56E9 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.218 H 274.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E56E9
RGBrgb(78, 86, 233)
HSLhsl(237, 78%, 61%)
HSVhsv(237, 67%, 91%)
CMYKcmyk(66.5%, 63.1%, 0%, 8.6%)
CIE-LABlab(44.46, 42.51, -75.25)
CIE-LCHlch(44.46, 86.42, 299.46°)
OKLaboklab(53.84% 0.0153 -0.2171)
OKLCHoklch(53.84% 0.218 274)
XYZxyz(21.1728, 14.1565, 78.6917)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56E9 #E9E14E
analogous
#4EA3E9 #4E56E9 #934EE9
triadic
#4E56E9 #E94E56 #56E94E
tetradic
#4E56E9 #E94EA3 #E9E14E #4EE993
square
#4E56E9 #E94EA3 #E9E14E #4EE993
split-complementary
#4E56E9 #E9934E #A3E94E
monochromatic
#151CA8 #1C26DE #4E56E9 #848AF0 #BBBEF7

Accessibility & contrast

On white

5.48
#4E56E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E56E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56E9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56E9#FFFFFF#000000##FFFFFF
##4E56E91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e56e9;
/* rgb */ color: rgb(78, 86, 233);
/* oklch */ color: oklch(53.8% 0.218 274.0);
Tailwind
colors: {
  custom: {
    50: '#9186f1',
    500: '#4e56e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e56e9;
$custom-light: #9186f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56e9",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 236.903,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.21765,
    "h": 274
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#4E56E9
secondary
#E7E4AC
accent
#CF0BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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