#4F87DC#4F87DC

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

Color values

HEX#4F87DC
RGBrgb(79, 135, 220)
HSLhsl(216, 67%, 59%)
HSVhsv(216, 64%, 86%)
CMYKcmyk(64.1%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.24, 8.12, -48.92)
CIE-LCHlch(56.24, 49.59, 279.43°)
OKLaboklab(62.5% -0.0282 -0.1391)
OKLCHoklch(62.5% 0.142 258.5)
XYZxyz(24.8021, 24.1551, 71.0516)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87DC #DCA44F
analogous
#4FCEDC #4F87DC #5D4FDC
triadic
#4F87DC #DC4F87 #87DC4F
tetradic
#4F87DC #DC4FCE #DCA44F #4FDC5D
square
#4F87DC #DC4FCE #DCA44F #4FDC5D
split-complementary
#4F87DC #DC5D4F #CEDC4F
monochromatic
#1D4C93 #2767C6 #4F87DC #82AAE6 #B5CDF0

Accessibility & contrast

On white

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

On black

5.83
#4F87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87DC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87DC#FFFFFF#000000##000000
##4F87DC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f87dc;
/* rgb */ color: rgb(79, 135, 220);
/* oklch */ color: oklch(62.5% 0.142 258.5);
Tailwind
colors: {
  custom: {
    50: '#8da9e7',
    500: '#4f87dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f87dc;
$custom-light: #8da9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87dc",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 216.17,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62503,
    "c": 0.14197,
    "h": 258.5
  },
  "luminance": 0.24158
}

Semantic roles & 50–950 ramp

primary
#4F87DC
secondary
#DFC9A8
accent
#A63EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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