#4E57D5#4E57D5

#4E57D5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.191 H 274.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4E57D5
RGBrgb(78, 87, 213)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 63%, 84%)
CMYKcmyk(63.4%, 59.2%, 0%, 16.5%)
CIE-LABlab(43.12, 35.23, -66.05)
CIE-LCHlch(43.12, 74.86, 298.07°)
OKLaboklab(52.37% 0.0153 -0.1901)
OKLCHoklch(52.37% 0.191 274.6)
XYZxyz(18.5564, 13.2386, 64.5153)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D5 #D5CC4E
analogous
#4E9BD5 #4E57D5 #894ED5
triadic
#4E57D5 #D54E57 #57D54E
tetradic
#4E57D5 #D54E9B #D5CC4E #4ED589
square
#4E57D5 #D54E9B #D5CC4E #4ED589
split-complementary
#4E57D5 #D5894E #9BD54E
monochromatic
#202788 #2C36BA #4E57D5 #7F86E1 #B1B5EC

Accessibility & contrast

On white

5.76
#4E57D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E57D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D5#FFFFFF#000000##FFFFFF
##4E57D51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e57d5;
/* rgb */ color: rgb(78, 87, 213);
/* oklch */ color: oklch(52.4% 0.191 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e86e3',
    500: '#4e57d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d5;
$custom-light: #8e86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d5",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 236,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.19072,
    "h": 274.6
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#4E57D5
secondary
#DBD7A4
accent
#DA43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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