#4E50D7#4E50D7

#4E50D7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.3% C 0.202 H 276.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4E50D7
RGBrgb(78, 80, 215)
HSLhsl(239, 63%, 57%)
HSVhsv(239, 64%, 84%)
CMYKcmyk(63.7%, 62.8%, 0%, 15.7%)
CIE-LABlab(41.63, 40.17, -69.63)
CIE-LCHlch(41.63, 80.38, 299.98°)
OKLaboklab(51.32% 0.021 -0.2007)
OKLCHoklch(51.32% 0.202 276)
XYZxyz(18.2723, 12.2618, 65.6807)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50D7 #D7D54E
analogous
#4E95D7 #4E50D7 #904ED7
triadic
#4E50D7 #D74E50 #50D74E
tetradic
#4E50D7 #D74E95 #D7D54E #4ED790
square
#4E50D7 #D74E95 #D7D54E #4ED790
split-complementary
#4E50D7 #D7904E #95D74E
monochromatic
#1F218B #2B2DBD #4E50D7 #8081E2 #B2B3EE

Accessibility & contrast

On white

6.08
#4E50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50D7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50D7#FFFFFF#000000##FFFFFF
##4E50D71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e50d7;
/* rgb */ color: rgb(78, 80, 215);
/* oklch */ color: oklch(51.3% 0.202 276.0);
Tailwind
colors: {
  custom: {
    50: '#8e81e4',
    500: '#4e50d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e50d7;
$custom-light: #8e81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50d7",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 239.124,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.20176,
    "h": 276
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#4E50D7
secondary
#DCDBA5
accent
#E442E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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