#4E56E2#4E56E2

#4E56E2 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.3% C 0.209 H 274.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4E56E2
RGBrgb(78, 86, 226)
HSLhsl(237, 72%, 60%)
HSVhsv(237, 65%, 89%)
CMYKcmyk(65.5%, 61.9%, 0%, 11.4%)
CIE-LABlab(43.89, 40.19, -72.20)
CIE-LCHlch(43.89, 82.63, 299.10°)
OKLaboklab(53.26% 0.0157 -0.2082)
OKLCHoklch(53.26% 0.209 274.3)
XYZxyz(20.1926, 13.7645, 73.5294)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56E2 #E2DA4E
analogous
#4EA0E2 #4E56E2 #904EE2
triadic
#4E56E2 #E24E56 #56E24E
tetradic
#4E56E2 #E24EA0 #E2DA4E #4EE290
square
#4E56E2 #E24EA0 #E2DA4E #4EE290
split-complementary
#4E56E2 #E2904E #A0E24E
monochromatic
#1A219C #222CD1 #4E56E2 #8388EB #B7BAF3

Accessibility & contrast

On white

5.60
#4E56E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E56E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56E2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56E2#FFFFFF#000000##FFFFFF
##4E56E21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e56e2;
/* rgb */ color: rgb(78, 86, 226);
/* oklch */ color: oklch(53.3% 0.209 274.3);
Tailwind
colors: {
  custom: {
    50: '#9086ec',
    500: '#4e56e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e56e2;
$custom-light: #9086ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56e2",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 236.757,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.20878,
    "h": 274.3
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#4E56E2
secondary
#E3E0A9
accent
#E539EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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