#4E87E0#4E87E0

#4E87E0 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.148 H 259.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4E87E0
RGBrgb(78, 135, 224)
HSLhsl(217, 70%, 59%)
HSVhsv(217, 65%, 88%)
CMYKcmyk(65.2%, 39.7%, 0%, 12.2%)
CIE-LABlab(56.41, 9.32, -50.89)
CIE-LCHlch(56.41, 51.73, 280.38°)
OKLaboklab(62.69% -0.0281 -0.1449)
OKLCHoklch(62.69% 0.148 259)
XYZxyz(25.2556, 24.3270, 73.8712)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87E0 #E0A74E
analogous
#4ED0E0 #4E87E0 #5E4EE0
triadic
#4E87E0 #E04E87 #87E04E
tetradic
#4E87E0 #E04ED0 #E0A74E #4EE05E
square
#4E87E0 #E04ED0 #E0A74E #4EE05E
split-complementary
#4E87E0 #E05E4E #D0E04E
monochromatic
#1B4C99 #2466CD #4E87E0 #82AAE9 #B6CEF2

Accessibility & contrast

On white

3.58
#4E87E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#4E87E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87E0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87E0#FFFFFF#000000##000000
##4E87E01.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8FE4
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e87e0;
/* rgb */ color: rgb(78, 135, 224);
/* oklch */ color: oklch(62.7% 0.148 259.0);
Tailwind
colors: {
  custom: {
    50: '#8da9ea',
    500: '#4e87e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e87e0;
$custom-light: #8da9ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87e0",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 224
  },
  "hsl": {
    "h": 216.575,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62694,
    "c": 0.14763,
    "h": 259
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#4E87E0
secondary
#E1CBA8
accent
#A73BED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87E0

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

Preview Lab → · Contrast checker → · Palette generator →

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