#4C87D4#4C87D4

#4C87D4 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.133 H 255.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4C87D4
RGBrgb(76, 135, 212)
HSLhsl(214, 61%, 56%)
HSVhsv(214, 64%, 83%)
CMYKcmyk(64.2%, 36.3%, 0%, 16.9%)
CIE-LABlab(55.70, 4.87, -45.29)
CIE-LCHlch(55.70, 45.55, 276.14°)
OKLaboklab(61.91% -0.0325 -0.1286)
OKLCHoklch(61.91% 0.133 255.8)
XYZxyz(23.5238, 23.6156, 65.5932)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87D4 #D4994C
analogous
#4CCBD4 #4C87D4 #554CD4
triadic
#4C87D4 #D44C87 #87D44C
tetradic
#4C87D4 #D44CCB #D4994C #4CD455
square
#4C87D4 #D44CCB #D4994C #4CD455
split-complementary
#4C87D4 #D4554C #CBD44C
monochromatic
#204C86 #2C68B7 #4C87D4 #7DA8E0 #AFC9EC

Accessibility & contrast

On white

3.67
#4C87D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#4C87D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87D4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87D4#FFFFFF#000000##000000
##4C87D41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD7
Deuteranopia (green-blind)
#5280D2
Tritanopia (blue-blind)
#0099A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4c87d4;
/* rgb */ color: rgb(76, 135, 212);
/* oklch */ color: oklch(61.9% 0.133 255.8);
Tailwind
colors: {
  custom: {
    50: '#8ba9e1',
    500: '#4c87d4',
    950: '#000000',
  },
}
SCSS
$custom: #4c87d4;
$custom-light: #8ba9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87d4",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 213.971,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61912,
    "c": 0.1326,
    "h": 255.8
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#4C87D4
secondary
#DAC2A2
accent
#9F43E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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