#4C87DC#4C87DC

#4C87DC is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.4% C 0.143 H 257.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4C87DC
RGBrgb(76, 135, 220)
HSLhsl(215, 67%, 58%)
HSVhsv(215, 65%, 86%)
CMYKcmyk(65.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.12, 7.61, -49.12)
CIE-LCHlch(56.12, 49.71, 278.81°)
OKLaboklab(62.37% -0.0306 -0.1398)
OKLCHoklch(62.37% 0.143 257.7)
XYZxyz(24.5581, 24.0293, 71.0402)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87DC #DCA14C
analogous
#4CCFDC #4C87DC #594CDC
triadic
#4C87DC #DC4C87 #87DC4C
tetradic
#4C87DC #DC4CCF #DCA14C #4CDC59
square
#4C87DC #DC4CCF #DCA14C #4CDC59
split-complementary
#4C87DC #DC594C #CFDC4C
monochromatic
#1C4C91 #2667C4 #4C87DC #7FA9E6 #B2CCF0

Accessibility & contrast

On white

3.62
#4C87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4C87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87DC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87DC#FFFFFF#000000##000000
##4C87DC1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c87dc;
/* rgb */ color: rgb(76, 135, 220);
/* oklch */ color: oklch(62.4% 0.143 257.7);
Tailwind
colors: {
  custom: {
    50: '#8ca9e7',
    500: '#4c87dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c87dc;
$custom-light: #8ca9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87dc",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 215.417,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.14309,
    "h": 257.7
  },
  "luminance": 0.24032
}

Semantic roles & 50–950 ramp

primary
#4C87DC
secondary
#DFC7A5
accent
#A33EEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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