#4C87DB#4C87DB

#4C87DB is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.3% C 0.142 H 257.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4C87DB
RGBrgb(76, 135, 219)
HSLhsl(215, 67%, 58%)
HSVhsv(215, 65%, 86%)
CMYKcmyk(65.3%, 38.4%, 0%, 14.1%)
CIE-LABlab(56.06, 7.27, -48.65)
CIE-LCHlch(56.06, 49.19, 278.50°)
OKLaboklab(62.31% -0.0308 -0.1384)
OKLCHoklch(62.31% 0.142 257.4)
XYZxyz(24.4260, 23.9765, 70.3448)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87DB #DBA04C
analogous
#4CCEDB #4C87DB #584CDB
triadic
#4C87DB #DB4C87 #87DB4C
tetradic
#4C87DB #DB4CCE #DBA04C #4CDB58
square
#4C87DB #DB4CCE #DBA04C #4CDB58
split-complementary
#4C87DB #DB584C #CEDB4C
monochromatic
#1D4C90 #2767C3 #4C87DB #7FA9E5 #B2CBEF

Accessibility & contrast

On white

3.62
#4C87DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#4C87DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87DB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87DB#FFFFFF#000000##000000
##4C87DB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c87db;
/* rgb */ color: rgb(76, 135, 219);
/* oklch */ color: oklch(62.3% 0.142 257.4);
Tailwind
colors: {
  custom: {
    50: '#8ca9e6',
    500: '#4c87db',
    950: '#000000',
  },
}
SCSS
$custom: #4c87db;
$custom-light: #8ca9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87db",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 215.245,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62313,
    "c": 0.14177,
    "h": 257.4
  },
  "luminance": 0.23979
}

Semantic roles & 50–950 ramp

primary
#4C87DB
secondary
#DEC6A5
accent
#A33EE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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