#4C87DF#4C87DF

#4C87DF is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.5% C 0.147 H 258.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4C87DF
RGBrgb(76, 135, 223)
HSLhsl(216, 70%, 59%)
HSVhsv(216, 66%, 87%)
CMYKcmyk(65.9%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.28, 8.64, -50.55)
CIE-LCHlch(56.28, 51.28, 279.70°)
OKLaboklab(62.55% -0.0299 -0.144)
OKLCHoklch(62.55% 0.147 258.3)
XYZxyz(24.9590, 24.1897, 73.1515)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87DF #DFA44C
analogous
#4CD1DF #4C87DF #5A4CDF
triadic
#4C87DF #DF4C87 #87DF4C
tetradic
#4C87DF #DF4CD1 #DFA44C #4CDF5A
square
#4C87DF #DF4CD1 #DFA44C #4CDF5A
split-complementary
#4C87DF #DF5A4C #D1DF4C
monochromatic
#1B4C96 #2467CA #4C87DF #80AAE8 #B4CDF2

Accessibility & contrast

On white

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

On black

5.84
#4C87DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87DF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87DF#FFFFFF#000000##000000
##4C87DF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#4981DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c87df;
/* rgb */ color: rgb(76, 135, 223);
/* oklch */ color: oklch(62.5% 0.147 258.3);
Tailwind
colors: {
  custom: {
    50: '#8ca9e9',
    500: '#4c87df',
    950: '#000000',
  },
}
SCSS
$custom: #4c87df;
$custom-light: #8ca9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87df",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 215.918,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.14704,
    "h": 258.3
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#4C87DF
secondary
#E0C9A6
accent
#A53BEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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