#4E5ED2#4E5ED2

#4E5ED2 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.178 H 272.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED2
RGBrgb(78, 94, 210)
HSLhsl(233, 59%, 56%)
HSVhsv(233, 63%, 82%)
CMYKcmyk(62.9%, 55.2%, 0%, 17.6%)
CIE-LABlab(44.63, 29.86, -61.89)
CIE-LCHlch(44.63, 68.71, 295.76°)
OKLaboklab(53.42% 0.0091 -0.1778)
OKLCHoklch(53.42% 0.178 272.9)
XYZxyz(18.7736, 14.2767, 62.7266)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED2 #D2C24E
analogous
#4EA0D2 #4E5ED2 #804ED2
triadic
#4E5ED2 #D24E5E #5ED24E
tetradic
#4E5ED2 #D24EA0 #D2C24E #4ED280
square
#4E5ED2 #D24EA0 #D2C24E #4ED280
split-complementary
#4E5ED2 #D2804E #A0D24E
monochromatic
#222E84 #2E3EB5 #4E5ED2 #7F8ADE #B0B7EB

Accessibility & contrast

On white

5.45
#4E5ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E5ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED2#FFFFFF#000000##FFFFFF
##4E5ED21.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5ed2;
/* rgb */ color: rgb(78, 94, 210);
/* oklch */ color: oklch(53.4% 0.178 272.9);
Tailwind
colors: {
  custom: {
    50: '#8d8be1',
    500: '#4e5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed2;
$custom-light: #8d8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed2",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 232.727,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.17802,
    "h": 272.9
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#4E5ED2
secondary
#D9D2A3
accent
#D045E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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