#4D87E4#4D87E4

#4D87E4 is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.9% C 0.153 H 259.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4D87E4
RGBrgb(77, 135, 228)
HSLhsl(217, 74%, 60%)
HSVhsv(217, 66%, 89%)
CMYKcmyk(66.2%, 40.8%, 0%, 10.6%)
CIE-LABlab(56.59, 10.53, -52.84)
CIE-LCHlch(56.59, 53.88, 281.27°)
OKLaboklab(62.89% -0.0281 -0.1507)
OKLCHoklch(62.89% 0.153 259.4)
XYZxyz(25.7231, 24.5046, 76.7580)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87E4 #E4AA4D
analogous
#4DD2E4 #4D87E4 #5F4DE4
triadic
#4D87E4 #E44D87 #87E44D
tetradic
#4D87E4 #E44DD2 #E4AA4D #4DE45F
square
#4D87E4 #E44DD2 #E4AA4D #4DE45F
split-complementary
#4D87E4 #E45F4D #D2E44D
monochromatic
#184C9F #2065D4 #4D87E4 #82ABEC #B7CFF4

Accessibility & contrast

On white

3.56
#4D87E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#4D87E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87E4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87E4#FFFFFF#000000##000000
##4D87E41.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d87e4;
/* rgb */ color: rgb(77, 135, 228);
/* oklch */ color: oklch(62.9% 0.153 259.4);
Tailwind
colors: {
  custom: {
    50: '#8ea9ed',
    500: '#4d87e4',
    950: '#000000',
  },
}
SCSS
$custom: #4d87e4;
$custom-light: #8ea9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87e4",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 216.954,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.15327,
    "h": 259.4
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

primary
#4D87E4
secondary
#E4CDA9
accent
#A937F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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