#4E5ED1#4E5ED1

#4E5ED1 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.177 H 272.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED1
RGBrgb(78, 94, 209)
HSLhsl(233, 59%, 56%)
HSVhsv(233, 63%, 82%)
CMYKcmyk(62.7%, 55%, 0%, 18%)
CIE-LABlab(44.56, 29.52, -61.43)
CIE-LCHlch(44.56, 68.15, 295.67°)
OKLaboklab(53.35% 0.009 -0.1764)
OKLCHoklch(53.35% 0.177 272.9)
XYZxyz(18.6494, 14.2270, 62.0725)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED1 #D1C14E
analogous
#4EA0D1 #4E5ED1 #804ED1
triadic
#4E5ED1 #D14E5E #5ED14E
tetradic
#4E5ED1 #D14EA0 #D1C14E #4ED180
square
#4E5ED1 #D14EA0 #D1C14E #4ED180
split-complementary
#4E5ED1 #D1804E #A0D14E
monochromatic
#222E83 #2F3FB3 #4E5ED1 #7F8ADE #AFB6EA

Accessibility & contrast

On white

5.46
#4E5ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4E5ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED1#FFFFFF#000000##FFFFFF
##4E5ED11.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e5ed1;
/* rgb */ color: rgb(78, 94, 209);
/* oklch */ color: oklch(53.3% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#8c8be0',
    500: '#4e5ed1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed1;
$custom-light: #8c8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed1",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 209
  },
  "hsl": {
    "h": 232.672,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.17667,
    "h": 272.9
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#4E5ED1
secondary
#D8D2A2
accent
#CF46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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