#4E87C7#4E87C7

#4E87C7 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.115 H 252.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E87C7
RGBrgb(78, 135, 199)
HSLhsl(212, 52%, 54%)
HSVhsv(212, 61%, 78%)
CMYKcmyk(60.8%, 32.2%, 0%, 22%)
CIE-LABlab(55.14, 0.86, -38.82)
CIE-LCHlch(55.14, 38.83, 271.27°)
OKLaboklab(61.29% -0.0343 -0.1096)
OKLCHoklch(61.29% 0.115 252.6)
XYZxyz(22.1109, 23.0691, 57.3093)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87C7 #C78E4E
analogous
#4EC3C7 #4E87C7 #524EC7
triadic
#4E87C7 #C74E87 #87C74E
tetradic
#4E87C7 #C74EC3 #C78E4E #4EC752
square
#4E87C7 #C74EC3 #C78E4E #4EC752
split-complementary
#4E87C7 #C7524E #C3C74E
monochromatic
#254B75 #3469A4 #4E87C7 #7CA7D6 #ABC6E4

Accessibility & contrast

On white

3.74
#4E87C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4E87C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87C7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87C7#FFFFFF#000000##000000
##4E87C71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ACA
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e87c7;
/* rgb */ color: rgb(78, 135, 199);
/* oklch */ color: oklch(61.3% 0.115 252.6);
Tailwind
colors: {
  custom: {
    50: '#8aa9d8',
    500: '#4e87c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e87c7;
$custom-light: #8aa9d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87c7",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 211.736,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.11489,
    "h": 252.6
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#4E87C7
secondary
#D2BA9F
accent
#984CDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4E87C7

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

Preview Lab → · Contrast checker → · Palette generator →

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