#4E87DA#4E87DA

#4E87DA is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.3% C 0.140 H 257.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E87DA
RGBrgb(78, 135, 218)
HSLhsl(216, 65%, 58%)
HSVhsv(216, 64%, 85%)
CMYKcmyk(64.2%, 38.1%, 0%, 14.5%)
CIE-LABlab(56.09, 7.26, -48.03)
CIE-LCHlch(56.09, 48.58, 278.60°)
OKLaboklab(62.34% -0.0295 -0.1365)
OKLCHoklch(62.34% 0.14 257.8)
XYZxyz(24.4562, 24.0072, 69.6611)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87DA #DAA14E
analogous
#4ECDDA #4E87DA #5B4EDA
triadic
#4E87DA #DA4E87 #87DA4E
tetradic
#4E87DA #DA4ECD #DAA14E #4EDA5B
square
#4E87DA #DA4ECD #DAA14E #4EDA5B
split-complementary
#4E87DA #DA5B4E #CDDA4E
monochromatic
#1E4C90 #2967C2 #4E87DA #81A9E5 #B3CCEF

Accessibility & contrast

On white

3.62
#4E87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#4E87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87DA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87DA#FFFFFF#000000##000000
##4E87DA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDD
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4e87da;
/* rgb */ color: rgb(78, 135, 218);
/* oklch */ color: oklch(62.3% 0.140 257.8);
Tailwind
colors: {
  custom: {
    50: '#8da9e6',
    500: '#4e87da',
    950: '#000000',
  },
}
SCSS
$custom: #4e87da;
$custom-light: #8da9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87da",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 215.571,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.1397,
    "h": 257.8
  },
  "luminance": 0.2401
}

Semantic roles & 50–950 ramp

primary
#4E87DA
secondary
#DEC7A6
accent
#A43FE8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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