#4E57E2#4E57E2

#4E57E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.208 H 274.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E57E2
RGBrgb(78, 87, 226)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 65%, 89%)
CMYKcmyk(65.5%, 61.5%, 0%, 11.4%)
CIE-LABlab(44.13, 39.58, -71.82)
CIE-LCHlch(44.13, 82.01, 298.86°)
OKLaboklab(53.43% 0.0149 -0.2071)
OKLCHoklch(53.43% 0.208 274.1)
XYZxyz(20.2730, 13.9253, 73.5562)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57E2 #E2D94E
analogous
#4EA1E2 #4E57E2 #8F4EE2
triadic
#4E57E2 #E24E57 #57E24E
tetradic
#4E57E2 #E24EA1 #E2D94E #4EE28F
square
#4E57E2 #E24EA1 #E2D94E #4EE28F
split-complementary
#4E57E2 #E28F4E #A1E24E
monochromatic
#1A219C #222DD1 #4E57E2 #8389EB #B7BBF3

Accessibility & contrast

On white

5.55
#4E57E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E57E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57E2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57E2#FFFFFF#000000##FFFFFF
##4E57E21.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e57e2;
/* rgb */ color: rgb(78, 87, 226);
/* oklch */ color: oklch(53.4% 0.208 274.1);
Tailwind
colors: {
  custom: {
    50: '#9086ec',
    500: '#4e57e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e57e2;
$custom-light: #9086ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57e2",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 236.351,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.20761,
    "h": 274.1
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#4E57E2
secondary
#E3DFA9
accent
#E439EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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