#4C87D2#4C87D2

#4C87D2 is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.130 H 255.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4C87D2
RGBrgb(76, 135, 210)
HSLhsl(214, 60%, 56%)
HSVhsv(214, 64%, 82%)
CMYKcmyk(63.8%, 35.7%, 0%, 17.6%)
CIE-LABlab(55.60, 4.19, -44.32)
CIE-LCHlch(55.60, 44.52, 275.40°)
OKLaboklab(61.8% -0.033 -0.1257)
OKLCHoklch(61.8% 0.13 255.3)
XYZxyz(23.2731, 23.5153, 64.2727)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87D2 #D2974C
analogous
#4CCAD2 #4C87D2 #544CD2
triadic
#4C87D2 #D24C87 #87D24C
tetradic
#4C87D2 #D24CCA #D2974C #4CD254
square
#4C87D2 #D24CCA #D2974C #4CD254
split-complementary
#4C87D2 #D2544C #CAD24C
monochromatic
#214C83 #2D68B4 #4C87D2 #7DA8DE #AEC9EB

Accessibility & contrast

On white

3.68
#4C87D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#4C87D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87D2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87D2#FFFFFF#000000##000000
##4C87D21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#668CD5
Deuteranopia (green-blind)
#547FD0
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4c87d2;
/* rgb */ color: rgb(76, 135, 210);
/* oklch */ color: oklch(61.8% 0.130 255.3);
Tailwind
colors: {
  custom: {
    50: '#8aa9e0',
    500: '#4c87d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c87d2;
$custom-light: #8aa9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87d2",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 213.582,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.12998,
    "h": 255.3
  },
  "luminance": 0.23518
}

Semantic roles & 50–950 ramp

primary
#4C87D2
secondary
#D9C0A1
accent
#9D45E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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