#4E50D8#4E50D8

#4E50D8 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.4% C 0.203 H 275.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4E50D8
RGBrgb(78, 80, 216)
HSLhsl(239, 64%, 58%)
HSVhsv(239, 64%, 85%)
CMYKcmyk(63.9%, 63%, 0%, 15.3%)
CIE-LABlab(41.71, 40.50, -70.07)
CIE-LCHlch(41.71, 80.93, 300.03°)
OKLaboklab(51.41% 0.021 -0.202)
OKLCHoklch(51.41% 0.203 275.9)
XYZxyz(18.4012, 12.3133, 66.3594)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50D8 #D8D64E
analogous
#4E95D8 #4E50D8 #914ED8
triadic
#4E50D8 #D84E50 #50D84E
tetradic
#4E50D8 #D84E95 #D8D64E #4ED891
square
#4E50D8 #D84E95 #D8D64E #4ED891
split-complementary
#4E50D8 #D8914E #95D84E
monochromatic
#1F218D #2A2CBF #4E50D8 #8082E3 #B2B3EE

Accessibility & contrast

On white

6.06
#4E50D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4E50D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50D8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50D8#FFFFFF#000000##FFFFFF
##4E50D81.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e50d8;
/* rgb */ color: rgb(78, 80, 216);
/* oklch */ color: oklch(51.4% 0.203 275.9);
Tailwind
colors: {
  custom: {
    50: '#8f81e5',
    500: '#4e50d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e50d8;
$custom-light: #8f81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50d8",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 239.13,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.20304,
    "h": 275.9
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#4E50D8
secondary
#DDDCA5
accent
#E441E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E50D8

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

Preview Lab → · Contrast checker → · Palette generator →

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