#4E87DB#4E87DB

#4E87DB is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.4% C 0.141 H 258.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4E87DB
RGBrgb(78, 135, 219)
HSLhsl(216, 66%, 58%)
HSVhsv(216, 64%, 86%)
CMYKcmyk(64.4%, 38.4%, 0%, 14.1%)
CIE-LABlab(56.15, 7.61, -48.51)
CIE-LCHlch(56.15, 49.10, 278.91°)
OKLaboklab(62.4% -0.0292 -0.1379)
OKLCHoklch(62.4% 0.141 258)
XYZxyz(24.5875, 24.0597, 70.3523)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87DB #DBA24E
analogous
#4ECDDB #4E87DB #5B4EDB
triadic
#4E87DB #DB4E87 #87DB4E
tetradic
#4E87DB #DB4ECD #DBA24E #4EDB5B
square
#4E87DB #DB4ECD #DBA24E #4EDB5B
split-complementary
#4E87DB #DB5B4E #CDDB4E
monochromatic
#1E4C91 #2867C4 #4E87DB #81A9E5 #B4CCF0

Accessibility & contrast

On white

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

On black

5.81
#4E87DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87DB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87DB#FFFFFF#000000##000000
##4E87DB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#4D81D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e87db;
/* rgb */ color: rgb(78, 135, 219);
/* oklch */ color: oklch(62.4% 0.141 258.0);
Tailwind
colors: {
  custom: {
    50: '#8da9e6',
    500: '#4e87db',
    950: '#000000',
  },
}
SCSS
$custom: #4e87db;
$custom-light: #8da9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87db",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 215.745,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62401,
    "c": 0.14102,
    "h": 258
  },
  "luminance": 0.24062
}

Semantic roles & 50–950 ramp

primary
#4E87DB
secondary
#DEC8A6
accent
#A43FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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