#4D87E6#4D87E6

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

Color values

HEX#4D87E6
RGBrgb(77, 135, 230)
HSLhsl(217, 75%, 60%)
HSVhsv(217, 67%, 90%)
CMYKcmyk(66.5%, 41.3%, 0%, 9.8%)
CIE-LABlab(56.70, 11.22, -53.78)
CIE-LCHlch(56.70, 54.94, 281.79°)
OKLaboklab(63.01% -0.0277 -0.1534)
OKLCHoklch(63.01% 0.156 259.8)
XYZxyz(26.0024, 24.6163, 78.2286)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87E6 #E6AC4D
analogous
#4DD3E6 #4D87E6 #604DE6
triadic
#4D87E6 #E64D87 #87E64D
tetradic
#4D87E6 #E64DD3 #E6AC4D #4DE660
square
#4D87E6 #E64DD3 #E6AC4D #4DE660
split-complementary
#4D87E6 #E6604D #D3E64D
monochromatic
#174BA2 #1E64D8 #4D87E6 #83ABEE #B8CFF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D87E6#FFFFFF#000000##000000
##4D87E61.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)
#5B90EA
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4d87e6;
/* rgb */ color: rgb(77, 135, 230);
/* oklch */ color: oklch(63.0% 0.156 259.8);
Tailwind
colors: {
  custom: {
    50: '#8ea9ee',
    500: '#4d87e6',
    950: '#000000',
  },
}
SCSS
$custom: #4d87e6;
$custom-light: #8ea9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87e6",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 230
  },
  "hsl": {
    "h": 217.255,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6301,
    "c": 0.15591,
    "h": 259.8
  },
  "luminance": 0.24619
}

Semantic roles & 50–950 ramp

primary
#4D87E6
secondary
#E5CEAA
accent
#8B0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4D87E6

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

Preview Lab → · Contrast checker → · Palette generator →

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