#4C87DE#4C87DE

#4C87DE is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.5% C 0.146 H 258.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4C87DE
RGBrgb(76, 135, 222)
HSLhsl(216, 69%, 58%)
HSVhsv(216, 66%, 87%)
CMYKcmyk(65.8%, 39.2%, 0%, 12.9%)
CIE-LABlab(56.22, 8.30, -50.08)
CIE-LCHlch(56.22, 50.76, 279.41°)
OKLaboklab(62.49% -0.0301 -0.1426)
OKLCHoklch(62.49% 0.146 258.1)
XYZxyz(24.8245, 24.1359, 72.4435)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87DE #DEA34C
analogous
#4CD0DE #4C87DE #5A4CDE
triadic
#4C87DE #DE4C87 #87DE4C
tetradic
#4C87DE #DE4CD0 #DEA34C #4CDE5A
square
#4C87DE #DE4CD0 #DEA34C #4CDE5A
split-complementary
#4C87DE #DE5A4C #D0DE4C
monochromatic
#1B4C94 #2567C8 #4C87DE #80AAE8 #B3CCF1

Accessibility & contrast

On white

3.60
#4C87DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#4C87DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87DE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87DE#FFFFFF#000000##000000
##4C87DE1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE1
Deuteranopia (green-blind)
#4A81DC
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c87de;
/* rgb */ color: rgb(76, 135, 222);
/* oklch */ color: oklch(62.5% 0.146 258.1);
Tailwind
colors: {
  custom: {
    50: '#8ca9e9',
    500: '#4c87de',
    950: '#000000',
  },
}
SCSS
$custom: #4c87de;
$custom-light: #8ca9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87de",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 215.753,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62489,
    "c": 0.14572,
    "h": 258.1
  },
  "luminance": 0.24138
}

Semantic roles & 50–950 ramp

primary
#4C87DE
secondary
#E0C8A6
accent
#A53CEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C87DE

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

Preview Lab → · Contrast checker → · Palette generator →

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