#4E54EB#4E54EB

#4E54EB is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.222 H 274.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E54EB
RGBrgb(78, 84, 235)
HSLhsl(238, 80%, 61%)
HSVhsv(238, 67%, 92%)
CMYKcmyk(66.8%, 64.3%, 0%, 7.8%)
CIE-LABlab(44.17, 44.36, -76.84)
CIE-LCHlch(44.17, 88.73, 300.00°)
OKLaboklab(53.69% 0.0166 -0.2218)
OKLCHoklch(53.69% 0.222 274.3)
XYZxyz(21.3026, 13.9566, 80.1524)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54EB #EBE54E
analogous
#4EA3EB #4E54EB #974EEB
triadic
#4E54EB #EB4E54 #54EB4E
tetradic
#4E54EB #EB4EA3 #EBE54E #4EEB97
square
#4E54EB #EB4EA3 #EBE54E #4EEB97
split-complementary
#4E54EB #EB974E #A3EB4E
monochromatic
#1319AB #1A21E2 #4E54EB #8589F1 #BCBEF7

Accessibility & contrast

On white

5.54
#4E54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54EB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54EB#FFFFFF#000000##FFFFFF
##4E54EB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e54eb;
/* rgb */ color: rgb(78, 84, 235);
/* oklch */ color: oklch(53.7% 0.222 274.3);
Tailwind
colors: {
  custom: {
    50: '#9284f3',
    500: '#4e54eb',
    950: '#000000',
  },
}
SCSS
$custom: #4e54eb;
$custom-light: #9284f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54eb",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 237.707,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.22242,
    "h": 274.3
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#4E54EB
secondary
#E8E6AD
accent
#D409DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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