#4F87E7#4F87E7

#4F87E7 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.2% C 0.157 H 260.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4F87E7
RGBrgb(79, 135, 231)
HSLhsl(218, 76%, 61%)
HSVhsv(218, 66%, 91%)
CMYKcmyk(65.8%, 41.6%, 0%, 9.4%)
CIE-LABlab(56.84, 11.89, -54.12)
CIE-LCHlch(56.84, 55.41, 282.39°)
OKLaboklab(63.16% -0.0259 -0.1544)
OKLCHoklch(63.16% 0.157 260.5)
XYZxyz(26.3071, 24.7571, 78.9780)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87E7 #E7AF4F
analogous
#4FD3E7 #4F87E7 #634FE7
triadic
#4F87E7 #E74F87 #87E74F
tetradic
#4F87E7 #E74FD3 #E7AF4F #4FE763
square
#4F87E7 #E74FD3 #E7AF4F #4FE763
split-complementary
#4F87E7 #E7634F #D3E74F
monochromatic
#174BA5 #1E64DB #4F87E7 #85ACEE #BBD0F6

Accessibility & contrast

On white

3.53
#4F87E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#4F87E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87E7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87E7#FFFFFF#000000##000000
##4F87E71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4282E5
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4f87e7;
/* rgb */ color: rgb(79, 135, 231);
/* oklch */ color: oklch(63.2% 0.157 260.5);
Tailwind
colors: {
  custom: {
    50: '#8fa9ef',
    500: '#4f87e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f87e7;
$custom-light: #8fa9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87e7",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 217.895,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63158,
    "c": 0.15653,
    "h": 260.5
  },
  "luminance": 0.2476
}

Semantic roles & 50–950 ramp

primary
#4F87E7
secondary
#E6D0AC
accent
#8D0DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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