#4F87E5#4F87E5

#4F87E5 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.154 H 260.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4F87E5
RGBrgb(79, 135, 229)
HSLhsl(218, 74%, 60%)
HSVhsv(218, 66%, 90%)
CMYKcmyk(65.5%, 41%, 0%, 10.2%)
CIE-LABlab(56.73, 11.20, -53.18)
CIE-LCHlch(56.73, 54.34, 281.90°)
OKLaboklab(63.04% -0.0263 -0.1516)
OKLCHoklch(63.04% 0.154 260.1)
XYZxyz(26.0262, 24.6448, 77.4989)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87E5 #E5AD4F
analogous
#4FD2E5 #4F87E5 #624FE5
triadic
#4F87E5 #E54F87 #87E54F
tetradic
#4F87E5 #E54FD2 #E5AD4F #4FE562
square
#4F87E5 #E54FD2 #E5AD4F #4FE562
split-complementary
#4F87E5 #E5624F #D2E54F
monochromatic
#184BA2 #2064D7 #4F87E5 #84ABED #BAD0F5

Accessibility & contrast

On white

3.54
#4F87E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#4F87E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87E5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87E5#FFFFFF#000000##000000
##4F87E51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#4482E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4f87e5;
/* rgb */ color: rgb(79, 135, 229);
/* oklch */ color: oklch(63.0% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#8fa9ee',
    500: '#4f87e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f87e5;
$custom-light: #8fa9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87e5",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 217.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63037,
    "c": 0.15389,
    "h": 260.1
  },
  "luminance": 0.24647
}

Semantic roles & 50–950 ramp

primary
#4F87E5
secondary
#E5CFAB
accent
#8C0FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F87E5

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

Preview Lab → · Contrast checker → · Palette generator →

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