#4E57D8#4E57D8

#4E57D8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.195 H 274.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E57D8
RGBrgb(78, 87, 216)
HSLhsl(236, 64%, 58%)
HSVhsv(236, 64%, 85%)
CMYKcmyk(63.9%, 59.7%, 0%, 15.3%)
CIE-LABlab(43.35, 36.24, -67.40)
CIE-LCHlch(43.35, 76.52, 298.27°)
OKLaboklab(52.61% 0.0152 -0.1941)
OKLCHoklch(52.61% 0.195 274.5)
XYZxyz(18.9407, 13.3923, 66.5393)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D8 #D8CF4E
analogous
#4E9CD8 #4E57D8 #8A4ED8
triadic
#4E57D8 #D84E57 #57D84E
tetradic
#4E57D8 #D84E9C #D8CF4E #4ED88A
square
#4E57D8 #D84E9C #D8CF4E #4ED88A
split-complementary
#4E57D8 #D88A4E #9CD84E
monochromatic
#1F268D #2A34BF #4E57D8 #8087E3 #B2B6EE

Accessibility & contrast

On white

5.71
#4E57D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E57D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D8#FFFFFF#000000##FFFFFF
##4E57D81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e57d8;
/* rgb */ color: rgb(78, 87, 216);
/* oklch */ color: oklch(52.6% 0.195 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e86e5',
    500: '#4e57d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d8;
$custom-light: #8e86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d8",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 236.087,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.19466,
    "h": 274.5
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#4E57D8
secondary
#DDD9A5
accent
#DC41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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