#4D87E2#4D87E2

#4D87E2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.151 H 259.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4D87E2
RGBrgb(77, 135, 226)
HSLhsl(217, 72%, 59%)
HSVhsv(217, 66%, 89%)
CMYKcmyk(65.9%, 40.3%, 0%, 11.4%)
CIE-LABlab(56.48, 9.84, -51.90)
CIE-LCHlch(56.48, 52.83, 280.74°)
OKLaboklab(62.77% -0.0285 -0.1479)
OKLCHoklch(62.77% 0.151 259.1)
XYZxyz(25.4471, 24.3942, 75.3042)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87E2 #E2A84D
analogous
#4DD2E2 #4D87E2 #5D4DE2
triadic
#4D87E2 #E24D87 #87E24D
tetradic
#4D87E2 #E24DD2 #E2A84D #4DE25D
square
#4D87E2 #E24DD2 #E2A84D #4DE25D
split-complementary
#4D87E2 #E25D4D #D2E24D
monochromatic
#194C9B #2266D0 #4D87E2 #82AAEB #B6CEF3

Accessibility & contrast

On white

3.57
#4D87E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#4D87E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87E2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87E2#FFFFFF#000000##000000
##4D87E21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#4781E0
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d87e2;
/* rgb */ color: rgb(77, 135, 226);
/* oklch */ color: oklch(62.8% 0.151 259.1);
Tailwind
colors: {
  custom: {
    50: '#8da9eb',
    500: '#4d87e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d87e2;
$custom-light: #8da9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87e2",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 216.644,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62769,
    "c": 0.15063,
    "h": 259.1
  },
  "luminance": 0.24397
}

Semantic roles & 50–950 ramp

primary
#4D87E2
secondary
#E2CCA8
accent
#A839EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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