#4E87DF#4E87DF

#4E87DF is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.6% C 0.146 H 258.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4E87DF
RGBrgb(78, 135, 223)
HSLhsl(216, 69%, 59%)
HSVhsv(216, 65%, 87%)
CMYKcmyk(65%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.36, 8.98, -50.41)
CIE-LCHlch(56.36, 51.21, 280.10°)
OKLaboklab(62.64% -0.0284 -0.1435)
OKLCHoklch(62.64% 0.146 258.8)
XYZxyz(25.1204, 24.2729, 73.1590)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87DF #DFA64E
analogous
#4ECFDF #4E87DF #5E4EDF
triadic
#4E87DF #DF4E87 #87DF4E
tetradic
#4E87DF #DF4ECF #DFA64E #4EDF5E
square
#4E87DF #DF4ECF #DFA64E #4EDF5E
split-complementary
#4E87DF #DF5E4E #CFDF4E
monochromatic
#1B4C97 #2566CB #4E87DF #82AAE8 #B6CDF2

Accessibility & contrast

On white

3.59
#4E87DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#4E87DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87DF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87DF#FFFFFF#000000##000000
##4E87DF1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE2
Deuteranopia (green-blind)
#4A81DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e87df;
/* rgb */ color: rgb(78, 135, 223);
/* oklch */ color: oklch(62.6% 0.146 258.8);
Tailwind
colors: {
  custom: {
    50: '#8da9e9',
    500: '#4e87df',
    950: '#000000',
  },
}
SCSS
$custom: #4e87df;
$custom-light: #8da9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87df",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 216.414,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62635,
    "c": 0.14631,
    "h": 258.8
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

primary
#4E87DF
secondary
#E1CAA8
accent
#A73CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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