#4E87D9#4E87D9

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

Color values

HEX#4E87D9
RGBrgb(78, 135, 217)
HSLhsl(215, 65%, 58%)
HSVhsv(215, 64%, 85%)
CMYKcmyk(64.1%, 37.8%, 0%, 14.9%)
CIE-LABlab(56.04, 6.92, -47.55)
CIE-LCHlch(56.04, 48.06, 278.28°)
OKLaboklab(62.29% -0.0297 -0.1351)
OKLCHoklch(62.29% 0.138 257.6)
XYZxyz(24.3258, 23.9551, 68.9740)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87D9 #D9A04E
analogous
#4ECCD9 #4E87D9 #5B4ED9
triadic
#4E87D9 #D94E87 #87D94E
tetradic
#4E87D9 #D94ECC #D9A04E #4ED95B
square
#4E87D9 #D94ECC #D9A04E #4ED95B
split-complementary
#4E87D9 #D95B4E #CCD94E
monochromatic
#1F4C8E #2967C0 #4E87D9 #80A9E4 #B3CBEF

Accessibility & contrast

On white

3.63
#4E87D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#4E87D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87D9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87D9#FFFFFF#000000##000000
##4E87D91.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#638DDC
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4e87d9;
/* rgb */ color: rgb(78, 135, 217);
/* oklch */ color: oklch(62.3% 0.138 257.6);
Tailwind
colors: {
  custom: {
    50: '#8ca9e5',
    500: '#4e87d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e87d9;
$custom-light: #8ca9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87d9",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 215.396,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62285,
    "c": 0.13838,
    "h": 257.6
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#4E87D9
secondary
#DDC6A6
accent
#A340E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87D9

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

Preview Lab → · Contrast checker → · Palette generator →

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