#4E87D5#4E87D5

#4E87D5 is a light, vivid cyan. Relative luminance 0.238; OKLCH L 62.1% C 0.133 H 256.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4E87D5
RGBrgb(78, 135, 213)
HSLhsl(215, 62%, 57%)
HSVhsv(215, 63%, 84%)
CMYKcmyk(63.4%, 36.6%, 0%, 16.5%)
CIE-LABlab(55.84, 5.56, -45.63)
CIE-LCHlch(55.84, 45.97, 276.95°)
OKLaboklab(62.06% -0.0307 -0.1295)
OKLCHoklch(62.06% 0.133 256.7)
XYZxyz(23.8118, 23.7495, 66.2671)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87D5 #D59C4E
analogous
#4ECAD5 #4E87D5 #594ED5
triadic
#4E87D5 #D54E87 #87D54E
tetradic
#4E87D5 #D54ECA #D59C4E #4ED559
square
#4E87D5 #D54ECA #D59C4E #4ED559
split-complementary
#4E87D5 #D5594E #CAD54E
monochromatic
#204C88 #2C68BA #4E87D5 #7FA9E1 #B1CAEC

Accessibility & contrast

On white

3.65
#4E87D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#4E87D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87D5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87D5#FFFFFF#000000##000000
##4E87D51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DD8
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4e87d5;
/* rgb */ color: rgb(78, 135, 213);
/* oklch */ color: oklch(62.1% 0.133 256.7);
Tailwind
colors: {
  custom: {
    50: '#8ca9e2',
    500: '#4e87d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e87d5;
$custom-light: #8ca9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87d5",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 214.667,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62057,
    "c": 0.13311,
    "h": 256.7
  },
  "luminance": 0.23752
}

Semantic roles & 50–950 ramp

primary
#4E87D5
secondary
#DBC4A4
accent
#A043E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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