#4E7DE5#4E7DE5

#4E7DE5 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.166 H 263.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E7DE5
RGBrgb(78, 125, 229)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 66%, 90%)
CMYKcmyk(65.9%, 45.4%, 0%, 10.2%)
CIE-LABlab(53.97, 17.13, -57.60)
CIE-LCHlch(53.97, 60.09, 286.56°)
OKLaboklab(60.9% -0.0177 -0.1648)
OKLCHoklch(60.9% 0.166 263.9)
XYZxyz(24.6134, 21.9417, 77.0516)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DE5 #E5B64E
analogous
#4EC8E5 #4E7DE5 #6B4EE5
triadic
#4E7DE5 #E54E7D #7DE54E
tetradic
#4E7DE5 #E54EC8 #E5B64E #4EE56B
square
#4E7DE5 #E54EC8 #E5B64E #4EE56B
split-complementary
#4E7DE5 #E56B4E #C8E54E
monochromatic
#1842A1 #1F58D6 #4E7DE5 #83A4ED #B9CBF5

Accessibility & contrast

On white

3.90
#4E7DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4E7DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DE5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DE5#FFFFFF#000000##000000
##4E7DE51.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E9
Deuteranopia (green-blind)
#2D7BE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7de5;
/* rgb */ color: rgb(78, 125, 229);
/* oklch */ color: oklch(60.9% 0.166 263.9);
Tailwind
colors: {
  custom: {
    50: '#8fa2ee',
    500: '#4e7de5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7de5;
$custom-light: #8fa2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7de5",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 221.325,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.16571,
    "h": 263.9
  },
  "luminance": 0.21944
}

Semantic roles & 50–950 ramp

primary
#4E7DE5
secondary
#E4D2AA
accent
#980FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4E7DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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