#4F87D8#4F87D8

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

Color values

HEX#4F87D8
RGBrgb(79, 135, 216)
HSLhsl(215, 64%, 58%)
HSVhsv(215, 63%, 85%)
CMYKcmyk(63.4%, 37.5%, 0%, 15.3%)
CIE-LABlab(56.03, 6.76, -47.01)
CIE-LCHlch(56.03, 47.49, 278.18°)
OKLaboklab(62.27% -0.0291 -0.1335)
OKLCHoklch(62.27% 0.137 257.7)
XYZxyz(24.2787, 23.9458, 68.2950)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87D8 #D8A04F
analogous
#4FCCD8 #4F87D8 #5B4FD8
triadic
#4F87D8 #D84F87 #87D84F
tetradic
#4F87D8 #D84FCC #D8A04F #4FD85B
square
#4F87D8 #D84FCC #D8A04F #4FD85B
split-complementary
#4F87D8 #D85B4F #CCD84F
monochromatic
#1F4C8D #2A67BF #4F87D8 #81A9E3 #B3CBEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F87D8#FFFFFF#000000##000000
##4F87D81.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)
#648DDB
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f87d8;
/* rgb */ color: rgb(79, 135, 216);
/* oklch */ color: oklch(62.3% 0.137 257.7);
Tailwind
colors: {
  custom: {
    50: '#8da9e4',
    500: '#4f87d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f87d8;
$custom-light: #8da9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87d8",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 215.474,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62273,
    "c": 0.13667,
    "h": 257.7
  },
  "luminance": 0.23948
}

Semantic roles & 50–950 ramp

primary
#4F87D8
secondary
#DDC6A6
accent
#A341E7
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4F87D8

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

Preview Lab → · Contrast checker → · Palette generator →

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