#4E50C7#4E50C7

#4E50C7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.181 H 276.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4E50C7
RGBrgb(78, 80, 199)
HSLhsl(239, 52%, 54%)
HSVhsv(239, 61%, 78%)
CMYKcmyk(60.8%, 59.8%, 0%, 22%)
CIE-LABlab(40.38, 34.88, -62.44)
CIE-LCHlch(40.38, 71.53, 299.19°)
OKLaboklab(50.01% 0.0218 -0.1796)
OKLCHoklch(50.01% 0.181 276.9)
XYZxyz(16.3160, 11.4793, 55.3777)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50C7 #C7C54E
analogous
#4E8DC7 #4E50C7 #894EC7
triadic
#4E50C7 #C74E50 #50C74E
tetradic
#4E50C7 #C74E8D #C7C54E #4EC789
square
#4E50C7 #C74E8D #C7C54E #4EC789
split-complementary
#4E50C7 #C7894E #8DC74E
monochromatic
#252675 #3436A4 #4E50C7 #7C7ED6 #ABACE4

Accessibility & contrast

On white

6.37
#4E50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50C7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50C7#FFFFFF#000000##FFFFFF
##4E50C71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e50c7;
/* rgb */ color: rgb(78, 80, 199);
/* oklch */ color: oklch(50.0% 0.181 276.9);
Tailwind
colors: {
  custom: {
    50: '#8c81d9',
    500: '#4e50c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e50c7;
$custom-light: #8c81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50c7",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 239.008,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.18088,
    "h": 276.9
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#4E50C7
secondary
#D2D19F
accent
#D94CDB
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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