#4C87EC#4C87EC

#4C87EC is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.3% C 0.164 H 260.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4C87EC
RGBrgb(76, 135, 236)
HSLhsl(218, 81%, 61%)
HSVhsv(218, 68%, 93%)
CMYKcmyk(67.8%, 42.8%, 0%, 7.5%)
CIE-LABlab(57.00, 13.15, -56.65)
CIE-LCHlch(57.00, 58.16, 283.07°)
OKLaboklab(63.34% -0.0273 -0.1619)
OKLCHoklch(63.34% 0.164 260.4)
XYZxyz(26.7794, 24.9178, 82.7389)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87EC #ECB14C
analogous
#4CD7EC #4C87EC #614CEC
triadic
#4C87EC #EC4C87 #87EC4C
tetradic
#4C87EC #EC4CD7 #ECB14C #4CEC61
square
#4C87EC #EC4CD7 #ECB14C #4CEC61
split-complementary
#4C87EC #EC614C #D7EC4C
monochromatic
#124BAB #1863E3 #4C87EC #83ACF2 #BBD1F8

Accessibility & contrast

On white

3.51
#4C87EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#4C87EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87EC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87EC#FFFFFF#000000##000000
##4C87EC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#3B82EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4c87ec;
/* rgb */ color: rgb(76, 135, 236);
/* oklch */ color: oklch(63.3% 0.164 260.4);
Tailwind
colors: {
  custom: {
    50: '#8fa9f3',
    500: '#4c87ec',
    950: '#000000',
  },
}
SCSS
$custom: #4c87ec;
$custom-light: #8fa9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87ec",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 217.875,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63337,
    "c": 0.16416,
    "h": 260.4
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#4C87EC
secondary
#E8D2AC
accent
#8F08DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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