#4E57C3#4E57C3

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

Color values

HEX#4E57C3
RGBrgb(78, 87, 195)
HSLhsl(235, 49%, 54%)
HSVhsv(235, 60%, 76%)
CMYKcmyk(60%, 55.4%, 0%, 23.5%)
CIE-LABlab(41.81, 29.18, -57.80)
CIE-LCHlch(41.81, 64.75, 296.78°)
OKLaboklab(50.98% 0.0151 -0.1658)
OKLCHoklch(50.98% 0.167 275.2)
XYZxyz(16.3972, 12.3750, 53.1437)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57C3 #C3BA4E
analogous
#4E91C3 #4E57C3 #7F4EC3
triadic
#4E57C3 #C34E57 #57C34E
tetradic
#4E57C3 #C34E91 #C3BA4E #4EC37F
square
#4E57C3 #C34E91 #C3BA4E #4EC37F
split-complementary
#4E57C3 #C37F4E #91C34E
monochromatic
#262C70 #363E9E #4E57C3 #7C82D2 #A9AEE2

Accessibility & contrast

On white

6.04
#4E57C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E57C3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57C3#FFFFFF#000000##FFFFFF
##4E57C31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e57c3;
/* rgb */ color: rgb(78, 87, 195);
/* oklch */ color: oklch(51.0% 0.167 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a86d6',
    500: '#4e57c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e57c3;
$custom-light: #8a86d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57c3",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 235.385,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.16654,
    "h": 275.2
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#4E57C3
secondary
#CFCC9D
accent
#CE4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E57C3

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

Preview Lab → · Contrast checker → · Palette generator →

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