#4C87D5#4C87D5

#4C87D5 is a mid, vivid cyan. Relative luminance 0.237; OKLCH L 62.0% C 0.134 H 256.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4C87D5
RGBrgb(76, 135, 213)
HSLhsl(214, 62%, 57%)
HSVhsv(214, 64%, 84%)
CMYKcmyk(64.3%, 36.6%, 0%, 16.5%)
CIE-LABlab(55.75, 5.21, -45.77)
CIE-LCHlch(55.75, 46.07, 276.50°)
OKLaboklab(61.97% -0.0322 -0.13)
OKLCHoklch(61.97% 0.134 256.1)
XYZxyz(23.6504, 23.6662, 66.2596)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87D5 #D59A4C
analogous
#4CCBD5 #4C87D5 #564CD5
triadic
#4C87D5 #D54C87 #87D54C
tetradic
#4C87D5 #D54CCB #D59A4C #4CD556
square
#4C87D5 #D54CCB #D59A4C #4CD556
split-complementary
#4C87D5 #D5564C #CBD54C
monochromatic
#204C87 #2B68B9 #4C87D5 #7EA8E1 #AFC9EC

Accessibility & contrast

On white

3.66
#4C87D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4C87D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87D5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87D5#FFFFFF#000000##000000
##4C87D51.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DD8
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c87d5;
/* rgb */ color: rgb(76, 135, 213);
/* oklch */ color: oklch(62.0% 0.134 256.1);
Tailwind
colors: {
  custom: {
    50: '#8ba9e2',
    500: '#4c87d5',
    950: '#000000',
  },
}
SCSS
$custom: #4c87d5;
$custom-light: #8ba9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87d5",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 214.161,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.1339,
    "h": 256.1
  },
  "luminance": 0.23669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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