#4E57D1#4E57D1

#4E57D1 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.185 H 274.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4E57D1
RGBrgb(78, 87, 209)
HSLhsl(236, 59%, 56%)
HSVhsv(236, 63%, 82%)
CMYKcmyk(62.7%, 58.4%, 0%, 18%)
CIE-LABlab(42.82, 33.89, -64.24)
CIE-LCHlch(42.82, 72.63, 297.81°)
OKLaboklab(52.05% 0.0153 -0.1848)
OKLCHoklch(52.05% 0.185 274.7)
XYZxyz(18.0549, 13.0380, 61.8744)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D1 #D1C84E
analogous
#4E99D1 #4E57D1 #874ED1
triadic
#4E57D1 #D14E57 #57D14E
tetradic
#4E57D1 #D14E99 #D1C84E #4ED187
square
#4E57D1 #D14E99 #D1C84E #4ED187
split-complementary
#4E57D1 #D1874E #99D14E
monochromatic
#222983 #2F38B3 #4E57D1 #7F85DE #AFB3EA

Accessibility & contrast

On white

5.82
#4E57D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E57D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D1#FFFFFF#000000##FFFFFF
##4E57D11.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e57d1;
/* rgb */ color: rgb(78, 87, 209);
/* oklch */ color: oklch(52.1% 0.185 274.7);
Tailwind
colors: {
  custom: {
    50: '#8d86e0',
    500: '#4e57d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d1;
$custom-light: #8d86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d1",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 209
  },
  "hsl": {
    "h": 235.878,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.18544,
    "h": 274.7
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#4E57D1
secondary
#D8D5A2
accent
#D746E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E57D1

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

Preview Lab → · Contrast checker → · Palette generator →

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