#4E50EF#4E50EF

#4E50EF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.232 H 274.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E50EF
RGBrgb(78, 80, 239)
HSLhsl(239, 83%, 62%)
HSVhsv(239, 67%, 94%)
CMYKcmyk(67.4%, 66.5%, 0%, 6.3%)
CIE-LABlab(43.63, 48.01, -79.98)
CIE-LCHlch(43.63, 93.28, 300.98°)
OKLaboklab(53.4% 0.0189 -0.231)
OKLCHoklch(53.4% 0.232 274.7)
XYZxyz(21.5854, 13.5870, 83.1296)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50EF #EFED4E
analogous
#4EA0EF #4E50EF #9D4EEF
triadic
#4E50EF #EF4E50 #50EF4E
tetradic
#4E50EF #EF4EA0 #EFED4E #4EEF9D
square
#4E50EF #EF4EA0 #EFED4E #4EEF9D
split-complementary
#4E50EF #EF9D4E #A0EF4E
monochromatic
#1012B2 #1619EA #4E50EF #8687F4 #BEBFF9

Accessibility & contrast

On white

5.65
#4E50EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E50EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50EF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50EF#FFFFFF#000000##FFFFFF
##4E50EF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#0060EC
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e50ef;
/* rgb */ color: rgb(78, 80, 239);
/* oklch */ color: oklch(53.4% 0.232 274.7);
Tailwind
colors: {
  custom: {
    50: '#9382f5',
    500: '#4e50ef',
    950: '#000000',
  },
}
SCSS
$custom: #4e50ef;
$custom-light: #9382f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50ef",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 239.255,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.534,
    "c": 0.23176,
    "h": 274.7
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#4E50EF
secondary
#EAE9AF
accent
#DD06E0
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4E50EF

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

Preview Lab → · Contrast checker → · Palette generator →

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