#4E54E7#4E54E7

#4E54E7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.217 H 274.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E54E7
RGBrgb(78, 84, 231)
HSLhsl(238, 76%, 61%)
HSVhsv(238, 66%, 91%)
CMYKcmyk(66.2%, 63.6%, 0%, 9.4%)
CIE-LABlab(43.84, 43.04, -75.12)
CIE-LCHlch(43.84, 86.58, 299.81°)
OKLaboklab(53.34% 0.0169 -0.2168)
OKLCHoklch(53.34% 0.217 274.4)
XYZxyz(20.7312, 13.7280, 77.1431)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54E7 #E7E14E
analogous
#4EA0E7 #4E54E7 #944EE7
triadic
#4E54E7 #E74E54 #54E74E
tetradic
#4E54E7 #E74EA0 #E7E14E #4EE794
square
#4E54E7 #E74EA0 #E7E14E #4EE794
split-complementary
#4E54E7 #E7944E #A0E74E
monochromatic
#161CA4 #1E25DA #4E54E7 #8488EE #BABCF6

Accessibility & contrast

On white

5.61
#4E54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54E7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54E7#FFFFFF#000000##FFFFFF
##4E54E71.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e54e7;
/* rgb */ color: rgb(78, 84, 231);
/* oklch */ color: oklch(53.3% 0.217 274.4);
Tailwind
colors: {
  custom: {
    50: '#9184f0',
    500: '#4e54e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e54e7;
$custom-light: #9184f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54e7",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 237.647,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.21741,
    "h": 274.4
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#4E54E7
secondary
#E5E3AB
accent
#D00DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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