#4E50F5#4E50F5

#4E50F5 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.9% C 0.239 H 274.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E50F5
RGBrgb(78, 80, 245)
HSLhsl(239, 89%, 63%)
HSVhsv(239, 68%, 96%)
CMYKcmyk(68.2%, 67.3%, 0%, 3.9%)
CIE-LABlab(44.16, 49.94, -82.49)
CIE-LCHlch(44.16, 96.43, 301.19°)
OKLaboklab(53.94% 0.0182 -0.2383)
OKLCHoklch(53.94% 0.239 274.4)
XYZxyz(22.4865, 13.9475, 87.8756)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50F5 #F5F34E
analogous
#4EA4F5 #4E50F5 #9F4EF5
triadic
#4E50F5 #F54E50 #50F54E
tetradic
#4E50F5 #F54EA4 #F5F34E #4EF59F
square
#4E50F5 #F54EA4 #F5F34E #4EF59F
split-complementary
#4E50F5 #F59F4E #A4F54E
monochromatic
#0B0DBE #1417F2 #4E50F5 #8889F8 #C2C3FC

Accessibility & contrast

On white

5.54
#4E50F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E50F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50F5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50F5#FFFFFF#000000##FFFFFF
##4E50F51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FA
Deuteranopia (green-blind)
#0061F2
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e50f5;
/* rgb */ color: rgb(78, 80, 245);
/* oklch */ color: oklch(53.9% 0.239 274.4);
Tailwind
colors: {
  custom: {
    50: '#9482fa',
    500: '#4e50f5',
    950: '#000000',
  },
}
SCSS
$custom: #4e50f5;
$custom-light: #9482fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50f5",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 245
  },
  "hsl": {
    "h": 239.281,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.23903,
    "h": 274.4
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#4E50F5
secondary
#EDECB2
accent
#E300E6
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #4E50F5

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

Preview Lab → · Contrast checker → · Palette generator →

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