#4E5ED7#4E5ED7

#4E5ED7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.185 H 272.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED7
RGBrgb(78, 94, 215)
HSLhsl(233, 63%, 57%)
HSVhsv(233, 64%, 84%)
CMYKcmyk(63.7%, 56.3%, 0%, 15.7%)
CIE-LABlab(44.98, 31.56, -64.17)
CIE-LCHlch(44.98, 71.51, 296.19°)
OKLaboklab(53.8% 0.0092 -0.1845)
OKLCHoklch(53.8% 0.185 272.9)
XYZxyz(19.4062, 14.5297, 66.0586)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED7 #D7C74E
analogous
#4EA2D7 #4E5ED7 #834ED7
triadic
#4E5ED7 #D74E5E #5ED74E
tetradic
#4E5ED7 #D74EA2 #D7C74E #4ED783
square
#4E5ED7 #D74EA2 #D7C74E #4ED783
split-complementary
#4E5ED7 #D7834E #A2D74E
monochromatic
#1F2C8B #2B3CBD #4E5ED7 #808BE2 #B2B9EE

Accessibility & contrast

On white

5.38
#4E5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4E5ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED7#FFFFFF#000000##FFFFFF
##4E5ED71.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5ed7;
/* rgb */ color: rgb(78, 94, 215);
/* oklch */ color: oklch(53.8% 0.185 272.9);
Tailwind
colors: {
  custom: {
    50: '#8d8be4',
    500: '#4e5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed7;
$custom-light: #8d8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed7",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 232.993,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.18474,
    "h": 272.9
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#4E5ED7
secondary
#DCD6A5
accent
#D342E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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