#4E87ED#4E87ED

#4E87ED is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.165 H 261.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4E87ED
RGBrgb(78, 135, 237)
HSLhsl(218, 82%, 62%)
HSVhsv(218, 67%, 93%)
CMYKcmyk(67.1%, 43%, 0%, 7.1%)
CIE-LABlab(57.13, 13.80, -56.98)
CIE-LCHlch(57.13, 58.63, 283.62°)
OKLaboklab(63.48% -0.0256 -0.1628)
OKLCHoklch(63.48% 0.165 261.1)
XYZxyz(27.0865, 25.0594, 83.5138)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87ED #EDB44E
analogous
#4ED6ED #4E87ED #654EED
triadic
#4E87ED #ED4E87 #87ED4E
tetradic
#4E87ED #ED4ED6 #EDB44E #4EED65
square
#4E87ED #ED4ED6 #EDB44E #4EED65
split-complementary
#4E87ED #ED654E #D6ED4E
monochromatic
#124AAF #1762E6 #4E87ED #86ADF3 #BDD2F8

Accessibility & contrast

On white

3.49
#4E87ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#4E87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87ED
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87ED#FFFFFF#000000##000000
##4E87ED1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#3B82EB
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4e87ed;
/* rgb */ color: rgb(78, 135, 237);
/* oklch */ color: oklch(63.5% 0.165 261.1);
Tailwind
colors: {
  custom: {
    50: '#90a9f3',
    500: '#4e87ed',
    950: '#000000',
  },
}
SCSS
$custom: #4e87ed;
$custom-light: #90a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87ed",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 218.491,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63484,
    "c": 0.16481,
    "h": 261.1
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#4E87ED
secondary
#E9D4AE
accent
#9108DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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