#4C87E4#4C87E4

#4C87E4 is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.8% C 0.154 H 259.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4C87E4
RGBrgb(76, 135, 228)
HSLhsl(217, 74%, 60%)
HSVhsv(217, 67%, 89%)
CMYKcmyk(66.7%, 40.8%, 0%, 10.6%)
CIE-LABlab(56.55, 10.37, -52.91)
CIE-LCHlch(56.55, 53.92, 281.09°)
OKLaboklab(62.85% -0.0289 -0.1509)
OKLCHoklch(62.85% 0.154 259.2)
XYZxyz(25.6430, 24.4633, 76.7542)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87E4 #E4A94C
analogous
#4CD3E4 #4C87E4 #5D4CE4
triadic
#4C87E4 #E44C87 #87E44C
tetradic
#4C87E4 #E44CD3 #E4A94C #4CE45D
square
#4C87E4 #E44CD3 #E4A94C #4CE45D
split-complementary
#4C87E4 #E45D4C #D3E44C
monochromatic
#184C9E #2065D3 #4C87E4 #81ABEC #B6CEF4

Accessibility & contrast

On white

3.56
#4C87E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#4C87E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87E4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87E4#FFFFFF#000000##000000
##4C87E41.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE8
Deuteranopia (green-blind)
#4481E2
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4c87e4;
/* rgb */ color: rgb(76, 135, 228);
/* oklch */ color: oklch(62.8% 0.154 259.2);
Tailwind
colors: {
  custom: {
    50: '#8da9ed',
    500: '#4c87e4',
    950: '#000000',
  },
}
SCSS
$custom: #4c87e4;
$custom-light: #8da9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87e4",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 216.711,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.15363,
    "h": 259.2
  },
  "luminance": 0.24466
}

Semantic roles & 50–950 ramp

primary
#4C87E4
secondary
#E3CCA8
accent
#A937F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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