#4E87D7#4E87D7

#4E87D7 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.2% C 0.136 H 257.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E87D7
RGBrgb(78, 135, 215)
HSLhsl(215, 63%, 57%)
HSVhsv(215, 64%, 84%)
CMYKcmyk(63.7%, 37.2%, 0%, 15.7%)
CIE-LABlab(55.94, 6.24, -46.60)
CIE-LCHlch(55.94, 47.01, 277.63°)
OKLaboklab(62.17% -0.0302 -0.1323)
OKLCHoklch(62.17% 0.136 257.2)
XYZxyz(24.0672, 23.8516, 67.6123)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87D7 #D79E4E
analogous
#4ECCD7 #4E87D7 #594ED7
triadic
#4E87D7 #D74E87 #87D74E
tetradic
#4E87D7 #D74ECC #D79E4E #4ED759
square
#4E87D7 #D74ECC #D79E4E #4ED759
split-complementary
#4E87D7 #D7594E #CCD74E
monochromatic
#1F4C8B #2B68BD #4E87D7 #80A9E2 #B2CBEE

Accessibility & contrast

On white

3.64
#4E87D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#4E87D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87D7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87D7#FFFFFF#000000##000000
##4E87D71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648DDA
Deuteranopia (green-blind)
#5180D5
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4e87d7;
/* rgb */ color: rgb(78, 135, 215);
/* oklch */ color: oklch(62.2% 0.136 257.2);
Tailwind
colors: {
  custom: {
    50: '#8ca9e4',
    500: '#4e87d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e87d7;
$custom-light: #8ca9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87d7",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 215.036,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.13575,
    "h": 257.2
  },
  "luminance": 0.23854
}

Semantic roles & 50–950 ramp

primary
#4E87D7
secondary
#DCC5A5
accent
#A242E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4E87D7

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

Preview Lab → · Contrast checker → · Palette generator →

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