#4D87E1#4D87E1

#4D87E1 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.149 H 258.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4D87E1
RGBrgb(77, 135, 225)
HSLhsl(216, 71%, 59%)
HSVhsv(216, 66%, 88%)
CMYKcmyk(65.8%, 40%, 0%, 11.8%)
CIE-LABlab(56.43, 9.50, -51.43)
CIE-LCHlch(56.43, 52.30, 280.46°)
OKLaboklab(62.71% -0.0287 -0.1465)
OKLCHoklch(62.71% 0.149 258.9)
XYZxyz(25.3103, 24.3395, 74.5837)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87E1 #E1A74D
analogous
#4DD1E1 #4D87E1 #5D4DE1
triadic
#4D87E1 #E14D87 #87E14D
tetradic
#4D87E1 #E14DD1 #E1A74D #4DE15D
square
#4D87E1 #E14DD1 #E1A74D #4DE15D
split-complementary
#4D87E1 #E15D4D #D1E14D
monochromatic
#1A4C9A #2366CE #4D87E1 #81AAEA #B6CEF3

Accessibility & contrast

On white

3.58
#4D87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#4D87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87E1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87E1#FFFFFF#000000##000000
##4D87E11.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d87e1;
/* rgb */ color: rgb(77, 135, 225);
/* oklch */ color: oklch(62.7% 0.149 258.9);
Tailwind
colors: {
  custom: {
    50: '#8da9eb',
    500: '#4d87e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d87e1;
$custom-light: #8da9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87e1",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 216.486,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6271,
    "c": 0.14931,
    "h": 258.9
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#4D87E1
secondary
#E2CBA8
accent
#A73AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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