#4E57E6#4E57E6

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

Color values

HEX#4E57E6
RGBrgb(78, 87, 230)
HSLhsl(236, 75%, 60%)
HSVhsv(236, 66%, 90%)
CMYKcmyk(66.1%, 62.2%, 0%, 9.8%)
CIE-LABlab(44.44, 40.91, -73.57)
CIE-LCHlch(44.44, 84.18, 299.08°)
OKLaboklab(53.76% 0.0147 -0.2122)
OKLCHoklch(53.76% 0.213 274)
XYZxyz(20.8283, 14.1474, 76.4807)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57E6 #E6DD4E
analogous
#4EA3E6 #4E57E6 #914EE6
triadic
#4E57E6 #E64E57 #57E64E
tetradic
#4E57E6 #E64EA3 #E6DD4E #4EE691
square
#4E57E6 #E64EA3 #E6DD4E #4EE691
split-complementary
#4E57E6 #E6914E #A3E64E
monochromatic
#171FA3 #1F2AD8 #4E57E6 #848AEE #B9BDF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E57E6#FFFFFF#000000##FFFFFF
##4E57E61.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)
#0070EB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e57e6;
/* rgb */ color: rgb(78, 87, 230);
/* oklch */ color: oklch(53.8% 0.213 274.0);
Tailwind
colors: {
  custom: {
    50: '#9186ef',
    500: '#4e57e6',
    950: '#000000',
  },
}
SCSS
$custom: #4e57e6;
$custom-light: #9186ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57e6",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 236.447,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.21271,
    "h": 274
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#4E57E6
secondary
#E5E1AB
accent
#CB0ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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