#4E5BEB#4E5BEB

#4E5BEB is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.214 H 273.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E5BEB
RGBrgb(78, 91, 235)
HSLhsl(235, 80%, 61%)
HSVhsv(235, 67%, 92%)
CMYKcmyk(66.8%, 61.3%, 0%, 7.8%)
CIE-LABlab(45.77, 40.16, -74.23)
CIE-LCHlch(45.77, 84.40, 298.42°)
OKLaboklab(54.86% 0.0115 -0.2141)
OKLCHoklch(54.86% 0.214 273.1)
XYZxyz(21.8734, 15.0980, 80.3426)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BEB #EBDE4E
analogous
#4EAAEB #4E5BEB #904EEB
triadic
#4E5BEB #EB4E5B #5BEB4E
tetradic
#4E5BEB #EB4EAA #EBDE4E #4EEB90
square
#4E5BEB #EB4EAA #EBDE4E #4EEB90
split-complementary
#4E5BEB #EB904E #AAEB4E
monochromatic
#1320AB #1A2AE2 #4E5BEB #858EF1 #BCC1F7

Accessibility & contrast

On white

5.22
#4E5BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4E5BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BEB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BEB#FFFFFF#000000##FFFFFF
##4E5BEB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e5beb;
/* rgb */ color: rgb(78, 91, 235);
/* oklch */ color: oklch(54.9% 0.214 273.1);
Tailwind
colors: {
  custom: {
    50: '#9189f2',
    500: '#4e5beb',
    950: '#000000',
  },
}
SCSS
$custom: #4e5beb;
$custom-light: #9189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5beb",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 235.032,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.21441,
    "h": 273.1
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#4E5BEB
secondary
#E8E3AD
accent
#CB09DC
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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