#4E87E7#4E87E7

#4E87E7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.1% C 0.157 H 260.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4E87E7
RGBrgb(78, 135, 231)
HSLhsl(218, 76%, 61%)
HSVhsv(218, 66%, 91%)
CMYKcmyk(66.2%, 41.6%, 0%, 9.4%)
CIE-LABlab(56.80, 11.73, -54.19)
CIE-LCHlch(56.80, 55.44, 282.21°)
OKLaboklab(63.11% -0.0267 -0.1546)
OKLCHoklch(63.11% 0.157 260.2)
XYZxyz(26.2245, 24.7146, 78.9742)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87E7 #E7AE4E
analogous
#4ED3E7 #4E87E7 #614EE7
triadic
#4E87E7 #E74E87 #87E74E
tetradic
#4E87E7 #E74ED3 #E7AE4E #4EE761
square
#4E87E7 #E74ED3 #E7AE4E #4EE761
split-complementary
#4E87E7 #E7614E #D3E74E
monochromatic
#164BA4 #1E64DA #4E87E7 #84ACEE #BAD0F6

Accessibility & contrast

On white

3.53
#4E87E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#4E87E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87E7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87E7#FFFFFF#000000##000000
##4E87E71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4282E5
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4e87e7;
/* rgb */ color: rgb(78, 135, 231);
/* oklch */ color: oklch(63.1% 0.157 260.2);
Tailwind
colors: {
  custom: {
    50: '#8fa9ef',
    500: '#4e87e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e87e7;
$custom-light: #8fa9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87e7",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 217.647,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.15688,
    "h": 260.2
  },
  "luminance": 0.24717
}

Semantic roles & 50–950 ramp

primary
#4E87E7
secondary
#E5D0AB
accent
#8D0DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4E87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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