#4C87EB#4C87EB

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

Color values

HEX#4C87EB
RGBrgb(76, 135, 235)
HSLhsl(218, 80%, 61%)
HSVhsv(218, 68%, 92%)
CMYKcmyk(67.7%, 42.6%, 0%, 7.8%)
CIE-LABlab(56.94, 12.80, -56.19)
CIE-LCHlch(56.94, 57.63, 282.84°)
OKLaboklab(63.27% -0.0275 -0.1605)
OKLCHoklch(63.27% 0.163 260.3)
XYZxyz(26.6345, 24.8599, 81.9759)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87EB #EBB04C
analogous
#4CD6EB #4C87EB #604CEB
triadic
#4C87EB #EB4C87 #87EB4C
tetradic
#4C87EB #EB4CD6 #EBB04C #4CEB60
square
#4C87EB #EB4CD6 #EBB04C #4CEB60
split-complementary
#4C87EB #EB604C #D6EB4C
monochromatic
#134BAA #1963E1 #4C87EB #83ACF1 #BAD1F7

Accessibility & contrast

On white

3.52
#4C87EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#4C87EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87EB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87EB#FFFFFF#000000##000000
##4C87EB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#3C82E9
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4c87eb;
/* rgb */ color: rgb(76, 135, 235);
/* oklch */ color: oklch(63.3% 0.163 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ea9f2',
    500: '#4c87eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c87eb;
$custom-light: #8ea9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87eb",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 217.736,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63274,
    "c": 0.16285,
    "h": 260.3
  },
  "luminance": 0.24863
}

Semantic roles & 50–950 ramp

primary
#4C87EB
secondary
#E7D1AB
accent
#8E09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C87EB

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

Preview Lab → · Contrast checker → · Palette generator →

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