#4E57E1#4E57E1

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

Color values

HEX#4E57E1
RGBrgb(78, 87, 225)
HSLhsl(236, 71%, 59%)
HSVhsv(236, 65%, 88%)
CMYKcmyk(65.3%, 61.3%, 0%, 11.8%)
CIE-LABlab(44.05, 39.25, -71.39)
CIE-LCHlch(44.05, 81.46, 298.80°)
OKLaboklab(53.34% 0.015 -0.2058)
OKLCHoklch(53.34% 0.206 274.2)
XYZxyz(20.1362, 13.8706, 72.8357)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57E1 #E1D84E
analogous
#4EA0E1 #4E57E1 #8F4EE1
triadic
#4E57E1 #E14E57 #57E14E
tetradic
#4E57E1 #E14EA0 #E1D84E #4EE18F
square
#4E57E1 #E14EA0 #E1D84E #4EE18F
split-complementary
#4E57E1 #E18F4E #A0E14E
monochromatic
#1A229A #232ECF #4E57E1 #8289EA #B7BAF3

Accessibility & contrast

On white

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

On black

3.77
#4E57E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E57E1#FFFFFF#000000##FFFFFF
##4E57E11.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e57e1;
/* rgb */ color: rgb(78, 87, 225);
/* oklch */ color: oklch(53.3% 0.206 274.2);
Tailwind
colors: {
  custom: {
    50: '#9086eb',
    500: '#4e57e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e57e1;
$custom-light: #9086eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57e1",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 236.327,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.20632,
    "h": 274.2
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#4E57E1
secondary
#E2DFA9
accent
#E33AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E57E1

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

Preview Lab → · Contrast checker → · Palette generator →

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