#4E87CF#4E87CF

#4E87CF is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.7% C 0.125 H 255.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4E87CF
RGBrgb(78, 135, 207)
HSLhsl(213, 57%, 56%)
HSVhsv(213, 62%, 81%)
CMYKcmyk(62.3%, 34.8%, 0%, 18.8%)
CIE-LABlab(55.53, 3.53, -42.73)
CIE-LCHlch(55.53, 42.88, 274.73°)
OKLaboklab(61.72% -0.0322 -0.121)
OKLCHoklch(61.72% 0.125 255.1)
XYZxyz(23.0643, 23.4505, 62.3303)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87CF #CF964E
analogous
#4EC8CF #4E87CF #554ECF
triadic
#4E87CF #CF4E87 #87CF4E
tetradic
#4E87CF #CF4EC8 #CF964E #4ECF55
square
#4E87CF #CF4EC8 #CF964E #4ECF55
split-complementary
#4E87CF #CF554E #C8CF4E
monochromatic
#234C80 #3068B0 #4E87CF #7EA8DC #AEC8E9

Accessibility & contrast

On white

3.69
#4E87CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4E87CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87CF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87CF#FFFFFF#000000##000000
##4E87CF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#577FCE
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4e87cf;
/* rgb */ color: rgb(78, 135, 207);
/* oklch */ color: oklch(61.7% 0.125 255.1);
Tailwind
colors: {
  custom: {
    50: '#8ba9de',
    500: '#4e87cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e87cf;
$custom-light: #8ba9de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87cf",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 213.488,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.12525,
    "h": 255.1
  },
  "luminance": 0.23453
}

Semantic roles & 50–950 ramp

primary
#4E87CF
secondary
#D7C0A2
accent
#9D47E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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