#4E50E2#4E50E2

#4E50E2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.216 H 275.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4E50E2
RGBrgb(78, 80, 226)
HSLhsl(239, 72%, 60%)
HSVhsv(239, 65%, 89%)
CMYKcmyk(65.5%, 64.6%, 0%, 11.4%)
CIE-LABlab(42.53, 43.78, -74.43)
CIE-LCHlch(42.53, 86.35, 300.46°)
OKLaboklab(52.26% 0.0202 -0.2147)
OKLCHoklch(52.26% 0.216 275.4)
XYZxyz(19.7335, 12.8463, 73.3764)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50E2 #E2E04E
analogous
#4E9AE2 #4E50E2 #964EE2
triadic
#4E50E2 #E24E50 #50E24E
tetradic
#4E50E2 #E24E9A #E2E04E #4EE296
square
#4E50E2 #E24E9A #E2E04E #4EE296
split-complementary
#4E50E2 #E2964E #9AE24E
monochromatic
#1A1B9C #2225D1 #4E50E2 #8384EB #B7B8F3

Accessibility & contrast

On white

5.88
#4E50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4E50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50E2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50E2#FFFFFF#000000##FFFFFF
##4E50E21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e50e2;
/* rgb */ color: rgb(78, 80, 226);
/* oklch */ color: oklch(52.3% 0.216 275.4);
Tailwind
colors: {
  custom: {
    50: '#9081ec',
    500: '#4e50e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e50e2;
$custom-light: #9081ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50e2",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 239.189,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.2157,
    "h": 275.4
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#4E50E2
secondary
#E3E2A9
accent
#EC39EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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