#4E57D7#4E57D7

#4E57D7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.193 H 274.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4E57D7
RGBrgb(78, 87, 215)
HSLhsl(236, 63%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.7%, 59.5%, 0%, 15.7%)
CIE-LABlab(43.27, 35.90, -66.95)
CIE-LCHlch(43.27, 75.97, 298.20°)
OKLaboklab(52.53% 0.0153 -0.1927)
OKLCHoklch(52.53% 0.193 274.5)
XYZxyz(18.8118, 13.3408, 65.8605)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E57D7 #D7CE4E
analogous
#4E9CD7 #4E57D7 #894ED7
triadic
#4E57D7 #D74E57 #57D74E
tetradic
#4E57D7 #D74E9C #D7CE4E #4ED789
square
#4E57D7 #D74E9C #D7CE4E #4ED789
split-complementary
#4E57D7 #D7894E #9CD74E
monochromatic
#1F278B #2B34BD #4E57D7 #8086E2 #B2B6EE

Accessibility & contrast

On white

5.72
#4E57D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E57D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E57D7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E57D7#FFFFFF#000000##FFFFFF
##4E57D71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e57d7;
/* rgb */ color: rgb(78, 87, 215);
/* oklch */ color: oklch(52.5% 0.193 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e86e4',
    500: '#4e57d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e57d7;
$custom-light: #8e86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e57d7",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 236.058,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.19335,
    "h": 274.5
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#4E57D7
secondary
#DCD8A5
accent
#DB42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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