#4E87FF#4E87FF

#4E87FF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.188 H 263.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E87FF
RGBrgb(78, 135, 255)
HSLhsl(221, 100%, 65%)
HSVhsv(221, 69%, 100%)
CMYKcmyk(69.4%, 47.1%, 0%, 0%)
CIE-LABlab(58.19, 20.07, -65.23)
CIE-LCHlch(58.19, 68.24, 287.10°)
OKLaboklab(64.64% -0.0227 -0.187)
OKLCHoklch(64.64% 0.188 263.1)
XYZxyz(29.8495, 26.1645, 98.0655)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87FF #FFC64E
analogous
#4EDFFF #4E87FF #6D4EFF
triadic
#4E87FF #FF4E87 #87FF4E
tetradic
#4E87FF #FF4EDF #FFC64E #4EFF6D
square
#4E87FF #FF4EDF #FFC64E #4EFF6D
split-complementary
#4E87FF #FF6D4E #DFFF4E
monochromatic
#0044D3 #115EFF #4E87FF #8BB0FF #C8DAFF

Accessibility & contrast

On white

3.37
#4E87FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#4E87FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87FF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87FF#FFFFFF#000000##000000
##4E87FF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4695FF
Deuteranopia (green-blind)
#1784FD
Tritanopia (blue-blind)
#00A3B7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4e87ff;
/* rgb */ color: rgb(78, 135, 255);
/* oklch */ color: oklch(64.6% 0.188 263.1);
Tailwind
colors: {
  custom: {
    50: '#93a9ff',
    500: '#4e87ff',
    950: '#000000',
  },
}
SCSS
$custom: #4e87ff;
$custom-light: #93a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87ff",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 220.678,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64639,
    "c": 0.18843,
    "h": 263.1
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#4E87FF
secondary
#F2DFB7
accent
#9C00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #4E87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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