#4D87AE#4D87AE

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

Color values

HEX#4D87AE
RGBrgb(77, 135, 174)
HSLhsl(204, 39%, 49%)
HSVhsv(204, 56%, 68%)
CMYKcmyk(55.7%, 22.4%, 0%, 31.8%)
CIE-LABlab(53.98, -7.46, -26.36)
CIE-LCHlch(53.98, 27.40, 254.20°)
OKLaboklab(60% -0.043 -0.0737)
OKLCHoklch(60% 0.085 239.7)
XYZxyz(19.3617, 21.9600, 43.2546)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87AE #AE744D
analogous
#4DAEA5 #4D87AE #4D57AE
triadic
#4D87AE #AE4D87 #87AE4D
tetradic
#4D87AE #A54DAE #AE744D #57AE4D
square
#4D87AE #A54DAE #AE744D #57AE4D
split-complementary
#4D87AE #AE4D57 #AEA54D
monochromatic
#274559 #3A6684 #4D87AE #76A4C2 #A0C0D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D87AE#FFFFFF#000000##000000
##4D87AE1.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)
#7687B0
Deuteranopia (green-blind)
#687DAD
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d87ae;
/* rgb */ color: rgb(77, 135, 174);
/* oklch */ color: oklch(60.0% 0.085 239.7);
Tailwind
colors: {
  custom: {
    50: '#86a9c6',
    500: '#4d87ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d87ae;
$custom-light: #86a9c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87ae",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 204.124,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.0853,
    "h": 239.7
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#4D87AE
secondary
#C2A795
accent
#8859CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4D87AE

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

Preview Lab → · Contrast checker → · Palette generator →

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