#4E5CEB#4E5CEB

#4E5CEB is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.0% C 0.213 H 272.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E5CEB
RGBrgb(78, 92, 235)
HSLhsl(235, 80%, 61%)
HSVhsv(235, 67%, 92%)
CMYKcmyk(66.8%, 60.9%, 0%, 7.8%)
CIE-LABlab(46.00, 39.56, -73.85)
CIE-LCHlch(46.00, 83.78, 298.18°)
OKLaboklab(55.03% 0.0107 -0.213)
OKLCHoklch(55.03% 0.213 272.9)
XYZxyz(21.9594, 15.2701, 80.3713)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CEB #EBDD4E
analogous
#4EABEB #4E5CEB #8F4EEB
triadic
#4E5CEB #EB4E5C #5CEB4E
tetradic
#4E5CEB #EB4EAB #EBDD4E #4EEB8F
square
#4E5CEB #EB4EAB #EBDD4E #4EEB8F
split-complementary
#4E5CEB #EB8F4E #ABEB4E
monochromatic
#1321AB #1A2BE2 #4E5CEB #858FF1 #BCC1F7

Accessibility & contrast

On white

5.18
#4E5CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4E5CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CEB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CEB#FFFFFF#000000##FFFFFF
##4E5CEB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e5ceb;
/* rgb */ color: rgb(78, 92, 235);
/* oklch */ color: oklch(55.0% 0.213 272.9);
Tailwind
colors: {
  custom: {
    50: '#918af2',
    500: '#4e5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ceb;
$custom-light: #918af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ceb",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 234.65,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.21324,
    "h": 272.9
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#4E5CEB
secondary
#E8E3AD
accent
#C909DC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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