#4E87D1#4E87D1

#4E87D1 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.8% C 0.128 H 255.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E87D1
RGBrgb(78, 135, 209)
HSLhsl(214, 59%, 56%)
HSVhsv(214, 63%, 82%)
CMYKcmyk(62.7%, 35.4%, 0%, 18%)
CIE-LABlab(55.63, 4.21, -43.70)
CIE-LCHlch(55.63, 43.90, 275.50°)
OKLaboklab(61.83% -0.0316 -0.1239)
OKLCHoklch(61.83% 0.128 255.7)
XYZxyz(23.3103, 23.5489, 63.6262)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87D1 #D1984E
analogous
#4EC9D1 #4E87D1 #574ED1
triadic
#4E87D1 #D14E87 #87D14E
tetradic
#4E87D1 #D14EC9 #D1984E #4ED157
square
#4E87D1 #D14EC9 #D1984E #4ED157
split-complementary
#4E87D1 #D1574E #C9D14E
monochromatic
#224C83 #2F68B3 #4E87D1 #7FA8DE #AFC9EA

Accessibility & contrast

On white

3.68
#4E87D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#4E87D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87D1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87D1#FFFFFF#000000##000000
##4E87D11.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678CD4
Deuteranopia (green-blind)
#5580CF
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4e87d1;
/* rgb */ color: rgb(78, 135, 209);
/* oklch */ color: oklch(61.8% 0.128 255.7);
Tailwind
colors: {
  custom: {
    50: '#8ba9df',
    500: '#4e87d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e87d1;
$custom-light: #8ba9df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87d1",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 209
  },
  "hsl": {
    "h": 213.893,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.12786,
    "h": 255.7
  },
  "luminance": 0.23551
}

Semantic roles & 50–950 ramp

primary
#4E87D1
secondary
#D8C1A2
accent
#9E46E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E87D1

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

Preview Lab → · Contrast checker → · Palette generator →

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