#4E87DC#4E87DC

#4E87DC is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.5% C 0.142 H 258.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4E87DC
RGBrgb(78, 135, 220)
HSLhsl(216, 67%, 58%)
HSVhsv(216, 65%, 86%)
CMYKcmyk(64.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.20, 7.95, -48.99)
CIE-LCHlch(56.20, 49.63, 279.22°)
OKLaboklab(62.46% -0.029 -0.1393)
OKLCHoklch(62.46% 0.142 258.2)
XYZxyz(24.7195, 24.1126, 71.0477)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87DC #DCA34E
analogous
#4ECEDC #4E87DC #5C4EDC
triadic
#4E87DC #DC4E87 #87DC4E
tetradic
#4E87DC #DC4ECE #DCA34E #4EDC5C
square
#4E87DC #DC4ECE #DCA34E #4EDC5C
split-complementary
#4E87DC #DC5C4E #CEDC4E
monochromatic
#1D4C93 #2767C6 #4E87DC #81AAE6 #B4CCF0

Accessibility & contrast

On white

3.61
#4E87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#4E87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87DC#FFFFFF#000000##000000
##4E87DC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e87dc;
/* rgb */ color: rgb(78, 135, 220);
/* oklch */ color: oklch(62.5% 0.142 258.2);
Tailwind
colors: {
  custom: {
    50: '#8da9e7',
    500: '#4e87dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e87dc;
$custom-light: #8da9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87dc",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 215.915,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62459,
    "c": 0.14234,
    "h": 258.2
  },
  "luminance": 0.24115
}

Semantic roles & 50–950 ramp

primary
#4E87DC
secondary
#DFC8A7
accent
#A53EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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