#4C87DA#4C87DA

#4C87DA is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.140 H 257.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4C87DA
RGBrgb(76, 135, 218)
HSLhsl(215, 66%, 58%)
HSVhsv(215, 65%, 85%)
CMYKcmyk(65.1%, 38.1%, 0%, 14.5%)
CIE-LABlab(56.01, 6.92, -48.17)
CIE-LCHlch(56.01, 48.67, 278.18°)
OKLaboklab(62.26% -0.031 -0.137)
OKLCHoklch(62.26% 0.14 257.2)
XYZxyz(24.2948, 23.9240, 69.6535)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87DA #DA9F4C
analogous
#4CCEDA #4C87DA #584CDA
triadic
#4C87DA #DA4C87 #87DA4C
tetradic
#4C87DA #DA4CCE #DA9F4C #4CDA58
square
#4C87DA #DA4CCE #DA9F4C #4CDA58
split-complementary
#4C87DA #DA584C #CEDA4C
monochromatic
#1D4C8E #2867C1 #4C87DA #7FA9E4 #B1CBEF

Accessibility & contrast

On white

3.63
#4C87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#4C87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87DA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87DA#FFFFFF#000000##000000
##4C87DA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c87da;
/* rgb */ color: rgb(76, 135, 218);
/* oklch */ color: oklch(62.3% 0.140 257.2);
Tailwind
colors: {
  custom: {
    50: '#8ca9e6',
    500: '#4c87da',
    950: '#000000',
  },
}
SCSS
$custom: #4c87da;
$custom-light: #8ca9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87da",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 215.07,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62255,
    "c": 0.14046,
    "h": 257.2
  },
  "luminance": 0.23926
}

Semantic roles & 50–950 ramp

primary
#4C87DA
secondary
#DDC6A4
accent
#A23FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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