#4F87E0#4F87E0

#4F87E0 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.7% C 0.147 H 259.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4F87E0
RGBrgb(79, 135, 224)
HSLhsl(217, 70%, 59%)
HSVhsv(217, 65%, 88%)
CMYKcmyk(64.7%, 39.7%, 0%, 12.2%)
CIE-LABlab(56.46, 9.49, -50.82)
CIE-LCHlch(56.46, 51.70, 280.57°)
OKLaboklab(62.74% -0.0274 -0.1447)
OKLCHoklch(62.74% 0.147 259.3)
XYZxyz(25.3382, 24.3696, 73.8750)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87E0 #E0A84F
analogous
#4FCFE0 #4F87E0 #604FE0
triadic
#4F87E0 #E04F87 #87E04F
tetradic
#4F87E0 #E04FCF #E0A84F #4FE060
square
#4F87E0 #E04FCF #E0A84F #4FE060
split-complementary
#4F87E0 #E0604F #CFE04F
monochromatic
#1B4C9A #2466CE #4F87E0 #83AAE9 #B7CEF2

Accessibility & contrast

On white

3.57
#4F87E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#4F87E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87E0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87E0#FFFFFF#000000##000000
##4F87E01.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8FE4
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f87e0;
/* rgb */ color: rgb(79, 135, 224);
/* oklch */ color: oklch(62.7% 0.147 259.3);
Tailwind
colors: {
  custom: {
    50: '#8ea9ea',
    500: '#4f87e0',
    950: '#000000',
  },
}
SCSS
$custom: #4f87e0;
$custom-light: #8ea9ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87e0",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 224
  },
  "hsl": {
    "h": 216.828,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62738,
    "c": 0.14726,
    "h": 259.3
  },
  "luminance": 0.24372
}

Semantic roles & 50–950 ramp

primary
#4F87E0
secondary
#E2CCA9
accent
#A83BED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F87E0

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

Preview Lab → · Contrast checker → · Palette generator →

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