#4E87C8#4E87C8

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

Color values

HEX#4E87C8
RGBrgb(78, 135, 200)
HSLhsl(212, 53%, 55%)
HSVhsv(212, 61%, 78%)
CMYKcmyk(61%, 32.5%, 0%, 21.6%)
CIE-LABlab(55.19, 1.19, -39.31)
CIE-LCHlch(55.19, 39.33, 271.73°)
OKLaboklab(61.34% -0.034 -0.1111)
OKLCHoklch(61.34% 0.116 253)
XYZxyz(22.2274, 23.1157, 57.9228)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87C8 #C88F4E
analogous
#4EC4C8 #4E87C8 #524EC8
triadic
#4E87C8 #C84E87 #87C84E
tetradic
#4E87C8 #C84EC4 #C88F4E #4EC852
square
#4E87C8 #C84EC4 #C88F4E #4EC852
split-complementary
#4E87C8 #C8524E #C4C84E
monochromatic
#254B77 #3369A5 #4E87C8 #7DA7D7 #ABC6E5

Accessibility & contrast

On white

3.73
#4E87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4E87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87C8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87C8#FFFFFF#000000##000000
##4E87C81.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e87c8;
/* rgb */ color: rgb(78, 135, 200);
/* oklch */ color: oklch(61.3% 0.116 253.0);
Tailwind
colors: {
  custom: {
    50: '#8aa9d9',
    500: '#4e87c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e87c8;
$custom-light: #8aa9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87c8",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 211.967,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.11618,
    "h": 253
  },
  "luminance": 0.23118
}

Semantic roles & 50–950 ramp

primary
#4E87C8
secondary
#D3BB9F
accent
#994CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4E87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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