#4E54E9#4E54E9

#4E54E9 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.220 H 274.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E54E9
RGBrgb(78, 84, 233)
HSLhsl(238, 78%, 61%)
HSVhsv(238, 67%, 91%)
CMYKcmyk(66.5%, 63.9%, 0%, 8.6%)
CIE-LABlab(44.00, 43.70, -75.98)
CIE-LCHlch(44.00, 87.66, 299.91°)
OKLaboklab(53.51% 0.0167 -0.2193)
OKLCHoklch(53.51% 0.22 274.4)
XYZxyz(21.0153, 13.8416, 78.6392)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54E9 #E9E34E
analogous
#4EA2E9 #4E54E9 #954EE9
triadic
#4E54E9 #E94E54 #54E94E
tetradic
#4E54E9 #E94EA2 #E9E34E #4EE995
square
#4E54E9 #E94EA2 #E9E34E #4EE995
split-complementary
#4E54E9 #E9954E #A2E94E
monochromatic
#151BA8 #1C23DE #4E54E9 #8489F0 #BBBDF7

Accessibility & contrast

On white

5.57
#4E54E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4E54E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54E9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54E9#FFFFFF#000000##FFFFFF
##4E54E91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e54e9;
/* rgb */ color: rgb(78, 84, 233);
/* oklch */ color: oklch(53.5% 0.220 274.4);
Tailwind
colors: {
  custom: {
    50: '#9284f1',
    500: '#4e54e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e54e9;
$custom-light: #9284f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54e9",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 237.677,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.21993,
    "h": 274.4
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#4E54E9
secondary
#E7E4AC
accent
#D20BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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