#4E50DC#4E50DC

#4E50DC is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.208 H 275.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4E50DC
RGBrgb(78, 80, 220)
HSLhsl(239, 67%, 58%)
HSVhsv(239, 65%, 86%)
CMYKcmyk(64.5%, 63.6%, 0%, 13.7%)
CIE-LABlab(42.04, 41.82, -71.82)
CIE-LCHlch(42.04, 83.11, 300.21°)
OKLaboklab(51.75% 0.0207 -0.2071)
OKLCHoklch(51.75% 0.208 275.7)
XYZxyz(18.9246, 12.5227, 69.1161)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50DC #DCDA4E
analogous
#4E97DC #4E50DC #934EDC
triadic
#4E50DC #DC4E50 #50DC4E
tetradic
#4E50DC #DC4E97 #DCDA4E #4EDC93
square
#4E50DC #DC4E97 #DCDA4E #4EDC93
split-complementary
#4E50DC #DC934E #97DC4E
monochromatic
#1D1F93 #2729C6 #4E50DC #8183E6 #B4B5F0

Accessibility & contrast

On white

5.99
#4E50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50DC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50DC#FFFFFF#000000##FFFFFF
##4E50DC1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e50dc;
/* rgb */ color: rgb(78, 80, 220);
/* oklch */ color: oklch(51.7% 0.208 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f81e8',
    500: '#4e50dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e50dc;
$custom-light: #8f81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50dc",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 239.155,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.20814,
    "h": 275.7
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#4E50DC
secondary
#DFDEA7
accent
#E73EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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