#4E51E9#4E51E9

#4E51E9 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.223 H 274.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E51E9
RGBrgb(78, 81, 233)
HSLhsl(239, 78%, 61%)
HSVhsv(239, 67%, 91%)
CMYKcmyk(66.5%, 65.2%, 0%, 8.6%)
CIE-LABlab(43.34, 45.48, -77.08)
CIE-LCHlch(43.34, 89.49, 300.54°)
OKLaboklab(53.03% 0.0188 -0.2225)
OKLCHoklch(53.03% 0.223 274.8)
XYZxyz(20.7874, 13.3859, 78.5632)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E51E9 #E9E64E
analogous
#4E9EE9 #4E51E9 #984EE9
triadic
#4E51E9 #E94E51 #51E94E
tetradic
#4E51E9 #E94E9E #E9E64E #4EE998
square
#4E51E9 #E94E9E #E9E64E #4EE998
split-complementary
#4E51E9 #E9984E #9EE94E
monochromatic
#1518A8 #1C1FDE #4E51E9 #8487F0 #BBBCF7

Accessibility & contrast

On white

5.71
#4E51E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E51E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E51E9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E51E9#FFFFFF#000000##FFFFFF
##4E51E91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#005FE6
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e51e9;
/* rgb */ color: rgb(78, 81, 233);
/* oklch */ color: oklch(53.0% 0.223 274.8);
Tailwind
colors: {
  custom: {
    50: '#9282f1',
    500: '#4e51e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e51e9;
$custom-light: #9282f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e51e9",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 238.839,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.2233,
    "h": 274.8
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#4E51E9
secondary
#E7E5AC
accent
#D60BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E51E9

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

Preview Lab → · Contrast checker → · Palette generator →

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