#4E57D0#4E57D0

#4E57D0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.184 H 274.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E57D0
RGBrgb(78, 87, 208)
HSLhsl(236, 58%, 56%)
HSVhsv(236, 63%, 82%)
CMYKcmyk(62.5%, 58.2%, 0%, 18.4%)
CIE-LABlab(42.75, 33.55, -63.79)
CIE-LCHlch(42.75, 72.07, 297.74°)
OKLaboklab(51.98% 0.0153 -0.1835)
OKLCHoklch(51.98% 0.184 274.8)
XYZxyz(17.9315, 12.9887, 61.2244)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D0 #D0C74E
analogous
#4E98D0 #4E57D0 #864ED0
triadic
#4E57D0 #D04E57 #57D04E
tetradic
#4E57D0 #D04E98 #D0C74E #4ED086
square
#4E57D0 #D04E98 #D0C74E #4ED086
split-complementary
#4E57D0 #D0864E #98D04E
monochromatic
#222981 #2F38B2 #4E57D0 #7E85DD #AFB3EA

Accessibility & contrast

On white

5.84
#4E57D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E57D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D0#FFFFFF#000000##FFFFFF
##4E57D01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e57d0;
/* rgb */ color: rgb(78, 87, 208);
/* oklch */ color: oklch(52.0% 0.184 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d86df',
    500: '#4e57d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d0;
$custom-light: #8d86df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d0",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 208
  },
  "hsl": {
    "h": 235.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.1841,
    "h": 274.8
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#4E57D0
secondary
#D8D4A2
accent
#D747E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E57D0

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

Preview Lab → · Contrast checker → · Palette generator →

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