#4E57EB#4E57EB

#4E57EB is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.219 H 273.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E57EB
RGBrgb(78, 87, 235)
HSLhsl(237, 80%, 61%)
HSVhsv(237, 67%, 92%)
CMYKcmyk(66.8%, 63%, 0%, 7.8%)
CIE-LABlab(44.85, 42.57, -75.74)
CIE-LCHlch(44.85, 86.88, 299.34°)
OKLaboklab(54.18% 0.0144 -0.2185)
OKLCHoklch(54.18% 0.219 273.8)
XYZxyz(21.5405, 14.4323, 80.2317)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57EB #EBE24E
analogous
#4EA5EB #4E57EB #944EEB
triadic
#4E57EB #EB4E57 #57EB4E
tetradic
#4E57EB #EB4EA5 #EBE24E #4EEB94
square
#4E57EB #EB4EA5 #EBE24E #4EEB94
split-complementary
#4E57EB #EB944E #A5EB4E
monochromatic
#131CAB #1A25E2 #4E57EB #858BF1 #BCBFF7

Accessibility & contrast

On white

5.40
#4E57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4E57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57EB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57EB#FFFFFF#000000##FFFFFF
##4E57EB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e57eb;
/* rgb */ color: rgb(78, 87, 235);
/* oklch */ color: oklch(54.2% 0.219 273.8);
Tailwind
colors: {
  custom: {
    50: '#9286f3',
    500: '#4e57eb',
    950: '#000000',
  },
}
SCSS
$custom: #4e57eb;
$custom-light: #9286f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57eb",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 236.561,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.21903,
    "h": 273.8
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#4E57EB
secondary
#E8E4AD
accent
#D009DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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