#4D87F7#4D87F7

#4D87F7 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.178 H 262.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D87F7
RGBrgb(77, 135, 247)
HSLhsl(220, 91%, 64%)
HSVhsv(220, 69%, 97%)
CMYKcmyk(68.8%, 45.3%, 0%, 3.1%)
CIE-LABlab(57.67, 17.13, -61.66)
CIE-LCHlch(57.67, 63.99, 285.53°)
OKLaboklab(64.08% -0.0247 -0.1766)
OKLCHoklch(64.08% 0.178 262)
XYZxyz(28.5071, 25.6182, 91.4201)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87F7 #F7BD4D
analogous
#4DDCF7 #4D87F7 #684DF7
triadic
#4D87F7 #F74D87 #87F74D
tetradic
#4D87F7 #F74DDC #F7BD4D #4DF768
square
#4D87F7 #F74DDC #F7BD4D #4DF768
split-complementary
#4D87F7 #F7684D #DCF74D
monochromatic
#0948C1 #1260F4 #4D87F7 #88AEFA #C2D6FC

Accessibility & contrast

On white

3.43
#4D87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#4D87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87F7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87F7#FFFFFF#000000##000000
##4D87F71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#2B83F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d87f7;
/* rgb */ color: rgb(77, 135, 247);
/* oklch */ color: oklch(64.1% 0.178 262.0);
Tailwind
colors: {
  custom: {
    50: '#91a9fa',
    500: '#4d87f7',
    950: '#000000',
  },
}
SCSS
$custom: #4d87f7;
$custom-light: #91a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87f7",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 219.529,
    "s": 91.398,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64075,
    "c": 0.17829,
    "h": 262
  },
  "luminance": 0.25621
}

Semantic roles & 50–950 ramp

primary
#4D87F7
secondary
#EED9B2
accent
#9700E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4D87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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