#4E87D2#4E87D2

#4E87D2 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.129 H 255.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4E87D2
RGBrgb(78, 135, 210)
HSLhsl(214, 59%, 56%)
HSVhsv(214, 63%, 82%)
CMYKcmyk(62.9%, 35.7%, 0%, 17.6%)
CIE-LABlab(55.68, 4.55, -44.19)
CIE-LCHlch(55.68, 44.42, 275.87°)
OKLaboklab(61.89% -0.0314 -0.1253)
OKLCHoklch(61.89% 0.129 255.9)
XYZxyz(23.4345, 23.5986, 64.2803)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87D2 #D2994E
analogous
#4EC9D2 #4E87D2 #574ED2
triadic
#4E87D2 #D24E87 #87D24E
tetradic
#4E87D2 #D24EC9 #D2994E #4ED257
square
#4E87D2 #D24EC9 #D2994E #4ED257
split-complementary
#4E87D2 #D2574E #C9D24E
monochromatic
#224C84 #2E68B5 #4E87D2 #7FA8DE #B0C9EB

Accessibility & contrast

On white

3.67
#4E87D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#4E87D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87D2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87D2#FFFFFF#000000##000000
##4E87D21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#678CD5
Deuteranopia (green-blind)
#5480D0
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4e87d2;
/* rgb */ color: rgb(78, 135, 210);
/* oklch */ color: oklch(61.9% 0.129 255.9);
Tailwind
colors: {
  custom: {
    50: '#8ba9e0',
    500: '#4e87d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e87d2;
$custom-light: #8ba9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87d2",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 214.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61888,
    "c": 0.12917,
    "h": 255.9
  },
  "luminance": 0.23601
}

Semantic roles & 50–950 ramp

primary
#4E87D2
secondary
#D9C2A3
accent
#9F45E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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