#4E57C4#4E57C4

#4E57C4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.168 H 275.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4E57C4
RGBrgb(78, 87, 196)
HSLhsl(235, 50%, 54%)
HSVhsv(235, 60%, 77%)
CMYKcmyk(60.2%, 55.6%, 0%, 23.1%)
CIE-LABlab(41.88, 29.52, -58.27)
CIE-LCHlch(41.88, 65.32, 296.86°)
OKLaboklab(51.05% 0.0152 -0.1672)
OKLCHoklch(51.05% 0.168 275.2)
XYZxyz(16.5106, 12.4203, 53.7412)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57C4 #C4BB4E
analogous
#4E92C4 #4E57C4 #804EC4
triadic
#4E57C4 #C44E57 #57C44E
tetradic
#4E57C4 #C44E92 #C4BB4E #4EC480
square
#4E57C4 #C44E92 #C4BB4E #4EC480
split-complementary
#4E57C4 #C4804E #92C44E
monochromatic
#262C72 #353DA0 #4E57C4 #7C83D3 #AAAEE3

Accessibility & contrast

On white

6.03
#4E57C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4E57C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57C4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57C4#FFFFFF#000000##FFFFFF
##4E57C41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e57c4;
/* rgb */ color: rgb(78, 87, 196);
/* oklch */ color: oklch(51.1% 0.168 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b86d7',
    500: '#4e57c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e57c4;
$custom-light: #8b86d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57c4",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 196
  },
  "hsl": {
    "h": 235.424,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.16792,
    "h": 275.2
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#4E57C4
secondary
#D0CC9E
accent
#CF4EDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E57C4

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

Preview Lab → · Contrast checker → · Palette generator →

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