#4E87F7#4E87F7

#4E87F7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.178 H 262.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4E87F7
RGBrgb(78, 135, 247)
HSLhsl(220, 91%, 64%)
HSVhsv(220, 68%, 97%)
CMYKcmyk(68.4%, 45.3%, 0%, 3.1%)
CIE-LABlab(57.71, 17.28, -61.59)
CIE-LCHlch(57.71, 63.97, 285.67°)
OKLaboklab(64.12% -0.0239 -0.1763)
OKLCHoklch(64.12% 0.178 262.3)
XYZxyz(28.5884, 25.6601, 91.4239)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87F7 #F7BE4E
analogous
#4EDCF7 #4E87F7 #694EF7
triadic
#4E87F7 #F74E87 #87F74E
tetradic
#4E87F7 #F74EDC #F7BE4E #4EF769
square
#4E87F7 #F74EDC #F7BE4E #4EF769
split-complementary
#4E87F7 #F7694E #DCF74E
monochromatic
#0947C2 #135FF4 #4E87F7 #89AFFA #C3D6FC

Accessibility & contrast

On white

3.42
#4E87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#4E87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87F7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87F7#FFFFFF#000000##000000
##4E87F71.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#2B83F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4e87f7;
/* rgb */ color: rgb(78, 135, 247);
/* oklch */ color: oklch(64.1% 0.178 262.3);
Tailwind
colors: {
  custom: {
    50: '#91a9fa',
    500: '#4e87f7',
    950: '#000000',
  },
}
SCSS
$custom: #4e87f7;
$custom-light: #91a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87f7",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 219.763,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64117,
    "c": 0.17796,
    "h": 262.3
  },
  "luminance": 0.25663
}

Semantic roles & 50–950 ramp

primary
#4E87F7
secondary
#EEDAB3
accent
#9800E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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