#4E57C2#4E57C2

#4E57C2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.165 H 275.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4E57C2
RGBrgb(78, 87, 194)
HSLhsl(235, 49%, 53%)
HSVhsv(235, 60%, 76%)
CMYKcmyk(59.8%, 55.2%, 0%, 23.9%)
CIE-LABlab(41.74, 28.84, -57.34)
CIE-LCHlch(41.74, 64.18, 296.70°)
OKLaboklab(50.91% 0.0151 -0.1645)
OKLCHoklch(50.91% 0.165 275.2)
XYZxyz(16.2845, 12.3299, 52.5502)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57C2 #C2B94E
analogous
#4E91C2 #4E57C2 #7F4EC2
triadic
#4E57C2 #C24E57 #57C24E
tetradic
#4E57C2 #C24E91 #C2B94E #4EC27F
square
#4E57C2 #C24E91 #C2B94E #4EC27F
split-complementary
#4E57C2 #C27F4E #91C24E
monochromatic
#262C6F #363E9D #4E57C2 #7C82D2 #A9ADE1

Accessibility & contrast

On white

6.06
#4E57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57C2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57C2#FFFFFF#000000##FFFFFF
##4E57C21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0568C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e57c2;
/* rgb */ color: rgb(78, 87, 194);
/* oklch */ color: oklch(50.9% 0.165 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a86d5',
    500: '#4e57c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e57c2;
$custom-light: #8a86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57c2",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 235.345,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.16517,
    "h": 275.2
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#4E57C2
secondary
#CFCB9D
accent
#CE50D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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