#4E87C9#4E87C9

#4E87C9 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.117 H 253.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4E87C9
RGBrgb(78, 135, 201)
HSLhsl(212, 53%, 55%)
HSVhsv(212, 61%, 79%)
CMYKcmyk(61.2%, 32.8%, 0%, 21.2%)
CIE-LABlab(55.24, 1.52, -39.80)
CIE-LCHlch(55.24, 39.83, 272.19°)
OKLaboklab(61.4% -0.0338 -0.1125)
OKLCHoklch(61.4% 0.117 253.3)
XYZxyz(22.3447, 23.1626, 58.5403)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87C9 #C9904E
analogous
#4EC5C9 #4E87C9 #524EC9
triadic
#4E87C9 #C94E87 #87C94E
tetradic
#4E87C9 #C94EC5 #C9904E #4EC952
square
#4E87C9 #C94EC5 #C9904E #4EC952
split-complementary
#4E87C9 #C9524E #C5C94E
monochromatic
#254B78 #3369A7 #4E87C9 #7DA7D7 #ACC7E6

Accessibility & contrast

On white

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

On black

5.63
#4E87C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87C9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87C9#FFFFFF#000000##000000
##4E87C91.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCC
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e87c9;
/* rgb */ color: rgb(78, 135, 201);
/* oklch */ color: oklch(61.4% 0.117 253.3);
Tailwind
colors: {
  custom: {
    50: '#8aa9d9',
    500: '#4e87c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e87c9;
$custom-light: #8aa9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87c9",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 201
  },
  "hsl": {
    "h": 212.195,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.11747,
    "h": 253.3
  },
  "luminance": 0.23165
}

Semantic roles & 50–950 ramp

primary
#4E87C9
secondary
#D3BB9F
accent
#994BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4E87C9

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

Preview Lab → · Contrast checker → · Palette generator →

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