#4E87AD#4E87AD

#4E87AD is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.0% C 0.084 H 239.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E87AD
RGBrgb(78, 135, 173)
HSLhsl(204, 38%, 49%)
HSVhsv(204, 55%, 68%)
CMYKcmyk(54.9%, 22%, 0%, 32.2%)
CIE-LABlab(53.99, -7.55, -25.78)
CIE-LCHlch(53.99, 26.86, 253.67°)
OKLaboklab(60% -0.0425 -0.072)
OKLCHoklch(60% 0.084 239.4)
XYZxyz(19.3459, 21.9631, 42.7469)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87AD #AD744E
analogous
#4EADA4 #4E87AD #4E58AD
triadic
#4E87AD #AD4E87 #87AD4E
tetradic
#4E87AD #A44EAD #AD744E #58AD4E
square
#4E87AD #A44EAD #AD744E #58AD4E
split-complementary
#4E87AD #AD4E58 #ADA44E
monochromatic
#284559 #3B6683 #4E87AD #77A4C2 #A1C0D5

Accessibility & contrast

On white

3.89
#4E87AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4E87AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87AD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87AD#FFFFFF#000000##000000
##4E87AD1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7687AF
Deuteranopia (green-blind)
#697DAC
Tritanopia (blue-blind)
#089194
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e87ad;
/* rgb */ color: rgb(78, 135, 173);
/* oklch */ color: oklch(60.0% 0.084 239.4);
Tailwind
colors: {
  custom: {
    50: '#86a9c5',
    500: '#4e87ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e87ad;
$custom-light: #86a9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87ad",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 204,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.08362,
    "h": 239.4
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#4E87AD
secondary
#C2A795
accent
#885ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4E87AD

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

Preview Lab → · Contrast checker → · Palette generator →

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