#4E8CE4#4E8CE4

#4E8CE4 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.0% C 0.147 H 257.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4E8CE4
RGBrgb(78, 140, 228)
HSLhsl(215, 74%, 60%)
HSVhsv(215, 66%, 89%)
CMYKcmyk(65.8%, 38.6%, 0%, 10.6%)
CIE-LABlab(58.01, 7.70, -50.58)
CIE-LCHlch(58.01, 51.16, 278.65°)
OKLaboklab(64.01% -0.0321 -0.1439)
OKLCHoklch(64.01% 0.147 257.4)
XYZxyz(26.5185, 25.9747, 76.9998)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8CE4 #E4A64E
analogous
#4ED7E4 #4E8CE4 #5B4EE4
triadic
#4E8CE4 #E44E8C #8CE44E
tetradic
#4E8CE4 #E44ED7 #E4A64E #4EE45B
square
#4E8CE4 #E44ED7 #E4A64E #4EE45B
split-complementary
#4E8CE4 #E45B4E #D7E44E
monochromatic
#18509F #206BD4 #4E8CE4 #83AFEC #B8D1F4

Accessibility & contrast

On white

3.39
#4E8CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#4E8CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8CE4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8CE4#FFFFFF#000000##000000
##4E8CE41.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E8
Deuteranopia (green-blind)
#4E85E2
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4e8ce4;
/* rgb */ color: rgb(78, 140, 228);
/* oklch */ color: oklch(64.0% 0.147 257.4);
Tailwind
colors: {
  custom: {
    50: '#8eaded',
    500: '#4e8ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4e8ce4;
$custom-light: #8eaded;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8ce4",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 215.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.64005,
    "c": 0.14749,
    "h": 257.4
  },
  "luminance": 0.25977
}

Semantic roles & 50–950 ramp

primary
#4E8CE4
secondary
#E4CCAA
accent
#A438F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #4E8CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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