#4E4ED5#4E4ED5

#4E4ED5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.8% C 0.202 H 276.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4E4ED5
RGBrgb(78, 78, 213)
HSLhsl(240, 62%, 57%)
HSVhsv(240, 63%, 84%)
CMYKcmyk(63.4%, 63.4%, 0%, 16.5%)
CIE-LABlab(41.01, 40.72, -69.49)
CIE-LCHlch(41.01, 80.54, 300.37°)
OKLaboklab(50.82% 0.0228 -0.2003)
OKLCHoklch(50.82% 0.202 276.5)
XYZxyz(17.8726, 11.8711, 64.2874)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ED5 #D5D54E
analogous
#4E92D5 #4E4ED5 #924ED5
triadic
#4E4ED5 #D54E4E #4ED54E
tetradic
#4E4ED5 #D54E92 #D5D54E #4ED592
square
#4E4ED5 #D54E92 #D5D54E #4ED592
split-complementary
#4E4ED5 #D5924E #92D54E
monochromatic
#202088 #2C2CBA #4E4ED5 #7F7FE1 #B1B1EC

Accessibility & contrast

On white

6.22
#4E4ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E4ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ED5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ED5#FFFFFF#000000##FFFFFF
##4E4ED51.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e4ed5;
/* rgb */ color: rgb(78, 78, 213);
/* oklch */ color: oklch(50.8% 0.202 276.5);
Tailwind
colors: {
  custom: {
    50: '#8e80e3',
    500: '#4e4ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ed5;
$custom-light: #8e80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ed5",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.20156,
    "h": 276.5
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#4E4ED5
secondary
#DBDBA4
accent
#E543E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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