#4E87C4#4E87C4

#4E87C4 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.111 H 251.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E87C4
RGBrgb(78, 135, 196)
HSLhsl(211, 50%, 54%)
HSVhsv(211, 60%, 77%)
CMYKcmyk(60.2%, 31.1%, 0%, 23.1%)
CIE-LABlab(55.00, -0.14, -37.34)
CIE-LCHlch(55.00, 37.34, 269.79°)
OKLaboklab(61.13% -0.0352 -0.1053)
OKLCHoklch(61.13% 0.111 251.5)
XYZxyz(21.7661, 22.9312, 55.4930)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87C4 #C48B4E
analogous
#4EC2C4 #4E87C4 #504EC4
triadic
#4E87C4 #C44E87 #87C44E
tetradic
#4E87C4 #C44EC2 #C48B4E #4EC450
square
#4E87C4 #C44EC2 #C48B4E #4EC450
split-complementary
#4E87C4 #C4504E #C2C44E
monochromatic
#264B72 #3569A0 #4E87C4 #7CA6D3 #AAC5E3

Accessibility & contrast

On white

3.76
#4E87C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4E87C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87C4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87C4#FFFFFF#000000##000000
##4E87C41.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8AC7
Deuteranopia (green-blind)
#5D7FC3
Tritanopia (blue-blind)
#00959D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e87c4;
/* rgb */ color: rgb(78, 135, 196);
/* oklch */ color: oklch(61.1% 0.111 251.5);
Tailwind
colors: {
  custom: {
    50: '#89a9d6',
    500: '#4e87c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e87c4;
$custom-light: #89a9d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87c4",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 211.017,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61131,
    "c": 0.11107,
    "h": 251.5
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

primary
#4E87C4
secondary
#D0B89E
accent
#964EDA
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4E87C4

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

Preview Lab → · Contrast checker → · Palette generator →

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