#4E50E6#4E50E6

#4E50E6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.221 H 275.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4E50E6
RGBrgb(78, 80, 230)
HSLhsl(239, 75%, 60%)
HSVhsv(239, 66%, 90%)
CMYKcmyk(66.1%, 65.2%, 0%, 9.8%)
CIE-LABlab(42.87, 45.09, -76.15)
CIE-LCHlch(42.87, 88.50, 300.63°)
OKLaboklab(52.61% 0.0198 -0.2198)
OKLCHoklch(52.61% 0.221 275.2)
XYZxyz(20.2888, 13.0684, 76.3008)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50E6 #E6E44E
analogous
#4E9CE6 #4E50E6 #984EE6
triadic
#4E50E6 #E64E50 #50E64E
tetradic
#4E50E6 #E64E9C #E6E44E #4EE698
square
#4E50E6 #E64E9C #E6E44E #4EE698
split-complementary
#4E50E6 #E6984E #9CE64E
monochromatic
#1719A3 #1F21D8 #4E50E6 #8485EE #B9BAF5

Accessibility & contrast

On white

5.81
#4E50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E50E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50E6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50E6#FFFFFF#000000##FFFFFF
##4E50E61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e50e6;
/* rgb */ color: rgb(78, 80, 230);
/* oklch */ color: oklch(52.6% 0.221 275.2);
Tailwind
colors: {
  custom: {
    50: '#9182ef',
    500: '#4e50e6',
    950: '#000000',
  },
}
SCSS
$custom: #4e50e6;
$custom-light: #9182ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50e6",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 239.211,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.22069,
    "h": 275.2
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#4E50E6
secondary
#E5E4AB
accent
#D50ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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