#4F87E4#4F87E4

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

Color values

HEX#4F87E4
RGBrgb(79, 135, 228)
HSLhsl(217, 73%, 60%)
HSVhsv(217, 65%, 89%)
CMYKcmyk(65.4%, 40.8%, 0%, 10.6%)
CIE-LABlab(56.67, 10.86, -52.71)
CIE-LCHlch(56.67, 53.81, 281.64°)
OKLaboklab(62.98% -0.0265 -0.1502)
OKLCHoklch(62.98% 0.153 260)
XYZxyz(25.8870, 24.5891, 76.7657)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87E4 #E4AC4F
analogous
#4FD1E4 #4F87E4 #624FE4
triadic
#4F87E4 #E44F87 #87E44F
tetradic
#4F87E4 #E44FD1 #E4AC4F #4FE462
square
#4F87E4 #E44FD1 #E4AC4F #4FE462
split-complementary
#4F87E4 #E4624F #D1E44F
monochromatic
#194BA0 #2164D5 #4F87E4 #84ABEC #B9CFF4

Accessibility & contrast

On white

3.55
#4F87E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#4F87E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87E4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87E4#FFFFFF#000000##000000
##4F87E41.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE8
Deuteranopia (green-blind)
#4682E2
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4f87e4;
/* rgb */ color: rgb(79, 135, 228);
/* oklch */ color: oklch(63.0% 0.153 260.0);
Tailwind
colors: {
  custom: {
    50: '#8fa9ed',
    500: '#4f87e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f87e4;
$custom-light: #8fa9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87e4",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 217.45,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62977,
    "c": 0.15256,
    "h": 260
  },
  "luminance": 0.24592
}

Semantic roles & 50–950 ramp

primary
#4F87E4
secondary
#E4CEAB
accent
#8B10D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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