#4C87F7#4C87F7

#4C87F7 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.179 H 261.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4C87F7
RGBrgb(76, 135, 247)
HSLhsl(219, 91%, 63%)
HSVhsv(219, 69%, 97%)
CMYKcmyk(69.2%, 45.3%, 0%, 3.1%)
CIE-LABlab(57.63, 16.99, -61.72)
CIE-LCHlch(57.63, 64.02, 285.39°)
OKLaboklab(64.03% -0.0254 -0.1768)
OKLCHoklch(64.03% 0.179 261.8)
XYZxyz(28.4270, 25.5769, 91.4163)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87F7 #F7BC4C
analogous
#4CDDF7 #4C87F7 #664CF7
triadic
#4C87F7 #F74C87 #87F74C
tetradic
#4C87F7 #F74CDD #F7BC4C #4CF766
square
#4C87F7 #F74CDD #F7BC4C #4CF766
split-complementary
#4C87F7 #F7664C #DDF74C
monochromatic
#0948C0 #1160F4 #4C87F7 #87AEFA #C1D6FC

Accessibility & contrast

On white

3.43
#4C87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#4C87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87F7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87F7#FFFFFF#000000##000000
##4C87F71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#2A83F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4c87f7;
/* rgb */ color: rgb(76, 135, 247);
/* oklch */ color: oklch(64.0% 0.179 261.8);
Tailwind
colors: {
  custom: {
    50: '#91a9fa',
    500: '#4c87f7',
    950: '#000000',
  },
}
SCSS
$custom: #4c87f7;
$custom-light: #91a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87f7",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 219.298,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.17859,
    "h": 261.8
  },
  "luminance": 0.2558
}

Semantic roles & 50–950 ramp

primary
#4C87F7
secondary
#EED9B1
accent
#9600E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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