#4E87F9#4E87F9

#4E87F9 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.181 H 262.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4E87F9
RGBrgb(78, 135, 249)
HSLhsl(220, 93%, 64%)
HSVhsv(220, 69%, 98%)
CMYKcmyk(68.7%, 45.8%, 0%, 2.4%)
CIE-LABlab(57.83, 17.97, -62.50)
CIE-LCHlch(57.83, 65.04, 286.04°)
OKLaboklab(64.25% -0.0236 -0.179)
OKLCHoklch(64.25% 0.181 262.5)
XYZxyz(28.8987, 25.7842, 93.0580)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87F9 #F9C04E
analogous
#4EDDF9 #4E87F9 #6B4EF9
triadic
#4E87F9 #F94E87 #87F94E
tetradic
#4E87F9 #F94EDD #F9C04E #4EF96B
square
#4E87F9 #F94EDD #F9C04E #4EF96B
split-complementary
#4E87F9 #F96B4E #DDF94E
monochromatic
#0746C6 #135FF7 #4E87F9 #89AFFB #C4D7FD

Accessibility & contrast

On white

3.41
#4E87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4E87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87F9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87F9#FFFFFF#000000##000000
##4E87F91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FD
Deuteranopia (green-blind)
#2784F7
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4e87f9;
/* rgb */ color: rgb(78, 135, 249);
/* oklch */ color: oklch(64.2% 0.181 262.5);
Tailwind
colors: {
  custom: {
    50: '#92a9fc',
    500: '#4e87f9',
    950: '#000000',
  },
}
SCSS
$custom: #4e87f9;
$custom-light: #92a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87f9",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 220,
    "s": 93.443,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64246,
    "c": 0.18059,
    "h": 262.5
  },
  "luminance": 0.25787
}

Semantic roles & 50–950 ramp

primary
#4E87F9
secondary
#EFDBB4
accent
#9900E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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