#4E5ED4#4E5ED4

#4E5ED4 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.181 H 272.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED4
RGBrgb(78, 94, 212)
HSLhsl(233, 61%, 57%)
HSVhsv(233, 63%, 83%)
CMYKcmyk(63.2%, 55.7%, 0%, 16.9%)
CIE-LABlab(44.77, 30.54, -62.80)
CIE-LCHlch(44.77, 69.84, 295.94°)
OKLaboklab(53.57% 0.0091 -0.1805)
OKLCHoklch(53.57% 0.181 272.9)
XYZxyz(19.0243, 14.3769, 64.0471)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED4 #D4C44E
analogous
#4EA1D4 #4E5ED4 #814ED4
triadic
#4E5ED4 #D44E5E #5ED44E
tetradic
#4E5ED4 #D44EA1 #D4C44E #4ED481
square
#4E5ED4 #D44EA1 #D4C44E #4ED481
split-complementary
#4E5ED4 #D4814E #A1D44E
monochromatic
#212D87 #2D3DB8 #4E5ED4 #7F8BE0 #B0B8EC

Accessibility & contrast

On white

5.42
#4E5ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4E5ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED4#FFFFFF#000000##FFFFFF
##4E5ED41.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5ed4;
/* rgb */ color: rgb(78, 94, 212);
/* oklch */ color: oklch(53.6% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#8d8be2',
    500: '#4e5ed4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed4;
$custom-light: #8d8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed4",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 232.836,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.18072,
    "h": 272.9
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#4E5ED4
secondary
#DAD4A4
accent
#D144E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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