#4E57E8#4E57E8

#4E57E8 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.9% C 0.215 H 273.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E57E8
RGBrgb(78, 87, 232)
HSLhsl(236, 77%, 61%)
HSVhsv(236, 66%, 91%)
CMYKcmyk(66.4%, 62.5%, 0%, 9%)
CIE-LABlab(44.60, 41.58, -74.44)
CIE-LCHlch(44.60, 85.26, 299.18°)
OKLaboklab(53.93% 0.0146 -0.2147)
OKLCHoklch(53.93% 0.215 273.9)
XYZxyz(21.1107, 14.2604, 77.9683)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57E8 #E8DF4E
analogous
#4EA4E8 #4E57E8 #924EE8
triadic
#4E57E8 #E84E57 #57E84E
tetradic
#4E57E8 #E84EA4 #E8DF4E #4EE892
square
#4E57E8 #E84EA4 #E8DF4E #4EE892
split-complementary
#4E57E8 #E8924E #A4E84E
monochromatic
#161EA6 #1D28DC #4E57E8 #848AEF #BABEF6

Accessibility & contrast

On white

5.45
#4E57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4E57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57E8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57E8#FFFFFF#000000##FFFFFF
##4E57E81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e57e8;
/* rgb */ color: rgb(78, 87, 232);
/* oklch */ color: oklch(53.9% 0.215 273.9);
Tailwind
colors: {
  custom: {
    50: '#9186f0',
    500: '#4e57e8',
    950: '#000000',
  },
}
SCSS
$custom: #4e57e8;
$custom-light: #9186f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57e8",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 236.494,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.21524,
    "h": 273.9
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#4E57E8
secondary
#E6E3AC
accent
#CD0CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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