#4E50E4#4E50E4

#4E50E4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.218 H 275.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4E50E4
RGBrgb(78, 80, 228)
HSLhsl(239, 74%, 60%)
HSVhsv(239, 66%, 89%)
CMYKcmyk(65.8%, 64.9%, 0%, 10.6%)
CIE-LABlab(42.70, 44.43, -75.29)
CIE-LCHlch(42.70, 87.43, 300.55°)
OKLaboklab(52.43% 0.02 -0.2173)
OKLCHoklch(52.43% 0.218 275.3)
XYZxyz(20.0095, 12.9567, 74.8302)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50E4 #E4E24E
analogous
#4E9BE4 #4E50E4 #974EE4
triadic
#4E50E4 #E44E50 #50E44E
tetradic
#4E50E4 #E44E9B #E4E24E #4EE497
square
#4E50E4 #E44E9B #E4E24E #4EE497
split-complementary
#4E50E4 #E4974E #9BE44E
monochromatic
#181A9F #2023D4 #4E50E4 #8385EC #B8B9F4

Accessibility & contrast

On white

5.85
#4E50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50E4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50E4#FFFFFF#000000##FFFFFF
##4E50E41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e50e4;
/* rgb */ color: rgb(78, 80, 228);
/* oklch */ color: oklch(52.4% 0.218 275.3);
Tailwind
colors: {
  custom: {
    50: '#9182ee',
    500: '#4e50e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e50e4;
$custom-light: #9182ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50e4",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 239.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.2182,
    "h": 275.3
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#4E50E4
secondary
#E4E3AA
accent
#EE38F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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