#4C87E1#4C87E1

#4C87E1 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.150 H 258.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4C87E1
RGBrgb(76, 135, 225)
HSLhsl(216, 71%, 59%)
HSVhsv(216, 66%, 88%)
CMYKcmyk(66.2%, 40%, 0%, 11.8%)
CIE-LABlab(56.39, 9.33, -51.50)
CIE-LCHlch(56.39, 52.34, 280.27°)
OKLaboklab(62.67% -0.0295 -0.1467)
OKLCHoklch(62.67% 0.15 258.6)
XYZxyz(25.2302, 24.2982, 74.5799)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87E1 #E1A64C
analogous
#4CD1E1 #4C87E1 #5C4CE1
triadic
#4C87E1 #E14C87 #87E14C
tetradic
#4C87E1 #E14CD1 #E1A64C #4CE15C
square
#4C87E1 #E14CD1 #E1A64C #4CE15C
split-complementary
#4C87E1 #E15C4C #D1E14C
monochromatic
#1A4C99 #2266CD #4C87E1 #80AAEA #B5CDF3

Accessibility & contrast

On white

3.58
#4C87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#4C87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87E1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87E1#FFFFFF#000000##000000
##4C87E11.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#4781DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c87e1;
/* rgb */ color: rgb(76, 135, 225);
/* oklch */ color: oklch(62.7% 0.150 258.6);
Tailwind
colors: {
  custom: {
    50: '#8da9eb',
    500: '#4c87e1',
    950: '#000000',
  },
}
SCSS
$custom: #4c87e1;
$custom-light: #8da9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87e1",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 216.242,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62667,
    "c": 0.14967,
    "h": 258.6
  },
  "luminance": 0.24301
}

Semantic roles & 50–950 ramp

primary
#4C87E1
secondary
#E2CAA7
accent
#A73AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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