#4C87CC#4C87CC

#4C87CC is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.122 H 253.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4C87CC
RGBrgb(76, 135, 204)
HSLhsl(212, 56%, 55%)
HSVhsv(212, 63%, 80%)
CMYKcmyk(62.7%, 33.8%, 0%, 20%)
CIE-LABlab(55.30, 2.16, -41.41)
CIE-LCHlch(55.30, 41.47, 272.98°)
OKLaboklab(61.47% -0.0345 -0.1172)
OKLCHoklch(61.47% 0.122 253.6)
XYZxyz(22.5396, 23.2219, 60.4095)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87CC #CC914C
analogous
#4CC7CC #4C87CC #514CCC
triadic
#4C87CC #CC4C87 #87CC4C
tetradic
#4C87CC #CC4CC7 #CC914C #4CCC51
square
#4C87CC #CC4CC7 #CC914C #4CCC51
split-complementary
#4C87CC #CC514C #C7CC4C
monochromatic
#234B7B #3169AA #4C87CC #7CA7DA #ABC7E7

Accessibility & contrast

On white

3.72
#4C87CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4C87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87CC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87CC#FFFFFF#000000##000000
##4C87CC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c87cc;
/* rgb */ color: rgb(76, 135, 204);
/* oklch */ color: oklch(61.5% 0.122 253.6);
Tailwind
colors: {
  custom: {
    50: '#89a9dc',
    500: '#4c87cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c87cc;
$custom-light: #89a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87cc",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 212.344,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.1222,
    "h": 253.6
  },
  "luminance": 0.23224
}

Semantic roles & 50–950 ramp

primary
#4C87CC
secondary
#D5BC9F
accent
#9A49DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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