#4E87E2#4E87E2

#4E87E2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.150 H 259.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E87E2
RGBrgb(78, 135, 226)
HSLhsl(217, 72%, 60%)
HSVhsv(217, 65%, 89%)
CMYKcmyk(65.5%, 40.3%, 0%, 11.4%)
CIE-LABlab(56.52, 10.01, -51.83)
CIE-LCHlch(56.52, 52.79, 280.93°)
OKLaboklab(62.81% -0.0277 -0.1477)
OKLCHoklch(62.81% 0.15 259.4)
XYZxyz(25.5284, 24.4361, 75.3080)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87E2 #E2A94E
analogous
#4ED1E2 #4E87E2 #5F4EE2
triadic
#4E87E2 #E24E87 #87E24E
tetradic
#4E87E2 #E24ED1 #E2A94E #4EE25F
square
#4E87E2 #E24ED1 #E2A94E #4EE25F
split-complementary
#4E87E2 #E25F4E #D1E24E
monochromatic
#1A4C9C #2265D1 #4E87E2 #83ABEB #B7CEF3

Accessibility & contrast

On white

3.57
#4E87E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#4E87E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87E2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87E2#FFFFFF#000000##000000
##4E87E21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#4781E0
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4e87e2;
/* rgb */ color: rgb(78, 135, 226);
/* oklch */ color: oklch(62.8% 0.150 259.4);
Tailwind
colors: {
  custom: {
    50: '#8ea9eb',
    500: '#4e87e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e87e2;
$custom-light: #8ea9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87e2",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 216.892,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.15027,
    "h": 259.4
  },
  "luminance": 0.24439
}

Semantic roles & 50–950 ramp

primary
#4E87E2
secondary
#E3CCA9
accent
#A939EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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