#4E57C0#4E57C0

#4E57C0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.162 H 275.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4E57C0
RGBrgb(78, 87, 192)
HSLhsl(235, 48%, 53%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(59.4%, 54.7%, 0%, 24.7%)
CIE-LABlab(41.60, 28.17, -56.40)
CIE-LCHlch(41.60, 63.04, 296.54°)
OKLaboklab(50.76% 0.015 -0.1617)
OKLCHoklch(50.76% 0.162 275.3)
XYZxyz(16.0614, 12.2406, 51.3753)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57C0 #C0B74E
analogous
#4E90C0 #4E57C0 #7E4EC0
triadic
#4E57C0 #C04E57 #57C04E
tetradic
#4E57C0 #C04E90 #C0B74E #4EC07E
square
#4E57C0 #C04E90 #C0B74E #4EC07E
split-complementary
#4E57C0 #C07E4E #90C04E
monochromatic
#272C6D #373F9A #4E57C0 #7B82D0 #A8ADE0

Accessibility & contrast

On white

6.09
#4E57C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E57C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57C0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57C0#FFFFFF#000000##FFFFFF
##4E57C01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e57c0;
/* rgb */ color: rgb(78, 87, 192);
/* oklch */ color: oklch(50.8% 0.162 275.3);
Tailwind
colors: {
  custom: {
    50: '#8a86d4',
    500: '#4e57c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e57c0;
$custom-light: #8a86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57c0",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 192
  },
  "hsl": {
    "h": 235.263,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.16242,
    "h": 275.3
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#4E57C0
secondary
#CECA9C
accent
#CC51D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E57C0

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

Preview Lab → · Contrast checker → · Palette generator →

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