#4E87E1#4E87E1

#4E87E1 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.149 H 259.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4E87E1
RGBrgb(78, 135, 225)
HSLhsl(217, 71%, 59%)
HSVhsv(217, 65%, 88%)
CMYKcmyk(65.3%, 40%, 0%, 11.8%)
CIE-LABlab(56.47, 9.66, -51.36)
CIE-LCHlch(56.47, 52.26, 280.65°)
OKLaboklab(62.75% -0.0279 -0.1463)
OKLCHoklch(62.75% 0.149 259.2)
XYZxyz(25.3916, 24.3814, 74.5875)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87E1 #E1A84E
analogous
#4ED0E1 #4E87E1 #5F4EE1
triadic
#4E87E1 #E14E87 #87E14E
tetradic
#4E87E1 #E14ED0 #E1A84E #4EE15F
square
#4E87E1 #E14ED0 #E1A84E #4EE15F
split-complementary
#4E87E1 #E15F4E #D0E14E
monochromatic
#1A4C9A #2366CF #4E87E1 #82AAEA #B7CEF3

Accessibility & contrast

On white

3.57
#4E87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#4E87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87E1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87E1#FFFFFF#000000##000000
##4E87E11.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e87e1;
/* rgb */ color: rgb(78, 135, 225);
/* oklch */ color: oklch(62.8% 0.149 259.2);
Tailwind
colors: {
  custom: {
    50: '#8ea9eb',
    500: '#4e87e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e87e1;
$custom-light: #8ea9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87e1",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 216.735,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62753,
    "c": 0.14894,
    "h": 259.2
  },
  "luminance": 0.24384
}

Semantic roles & 50–950 ramp

primary
#4E87E1
secondary
#E2CCA9
accent
#A83AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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