#4E54EA#4E54EA

#4E54EA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.221 H 274.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E54EA
RGBrgb(78, 84, 234)
HSLhsl(238, 79%, 61%)
HSVhsv(238, 67%, 92%)
CMYKcmyk(66.7%, 64.1%, 0%, 8.2%)
CIE-LABlab(44.09, 44.03, -76.41)
CIE-LCHlch(44.09, 88.19, 299.95°)
OKLaboklab(53.6% 0.0166 -0.2205)
OKLCHoklch(53.6% 0.221 274.3)
XYZxyz(21.1586, 13.8989, 79.3937)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54EA #EAE44E
analogous
#4EA2EA #4E54EA #964EEA
triadic
#4E54EA #EA4E54 #54EA4E
tetradic
#4E54EA #EA4EA2 #EAE44E #4EEA96
square
#4E54EA #EA4EA2 #EAE44E #4EEA96
split-complementary
#4E54EA #EA964E #A2EA4E
monochromatic
#141AA9 #1B22E0 #4E54EA #8589F0 #BBBEF7

Accessibility & contrast

On white

5.56
#4E54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54EA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54EA#FFFFFF#000000##FFFFFF
##4E54EA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e54ea;
/* rgb */ color: rgb(78, 84, 234);
/* oklch */ color: oklch(53.6% 0.221 274.3);
Tailwind
colors: {
  custom: {
    50: '#9284f2',
    500: '#4e54ea',
    950: '#000000',
  },
}
SCSS
$custom: #4e54ea;
$custom-light: #9284f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54ea",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 237.692,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.22118,
    "h": 274.3
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#4E54EA
secondary
#E7E5AD
accent
#D30ADB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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