#4C87AC#4C87AC

#4C87AC is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.9% C 0.084 H 237.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4C87AC
RGBrgb(76, 135, 172)
HSLhsl(203, 39%, 49%)
HSVhsv(203, 56%, 67%)
CMYKcmyk(55.8%, 21.5%, 0%, 32.5%)
CIE-LABlab(53.86, -8.31, -25.41)
CIE-LCHlch(53.86, 26.73, 251.89°)
OKLaboklab(59.86% -0.0445 -0.0709)
OKLCHoklch(59.86% 0.084 237.9)
XYZxyz(19.0881, 21.8413, 42.2316)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87AC #AC714C
analogous
#4CACA1 #4C87AC #4C57AC
triadic
#4C87AC #AC4C87 #87AC4C
tetradic
#4C87AC #A14CAC #AC714C #57AC4C
square
#4C87AC #A14CAC #AC714C #57AC4C
split-complementary
#4C87AC #AC4C57 #ACA14C
monochromatic
#264457 #396682 #4C87AC #74A4C1 #9EBFD4

Accessibility & contrast

On white

3.91
#4C87AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4C87AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87AC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87AC#FFFFFF#000000##000000
##4C87AC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AE
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#009093
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c87ac;
/* rgb */ color: rgb(76, 135, 172);
/* oklch */ color: oklch(59.9% 0.084 237.9);
Tailwind
colors: {
  custom: {
    50: '#85a9c4',
    500: '#4c87ac',
    950: '#000000',
  },
}
SCSS
$custom: #4c87ac;
$custom-light: #85a9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87ac",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 203.125,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.08376,
    "h": 237.9
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#4C87AC
secondary
#C1A593
accent
#8659CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #4C87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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