#4D87DF#4D87DF

#4D87DF is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.6% C 0.147 H 258.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4D87DF
RGBrgb(77, 135, 223)
HSLhsl(216, 70%, 59%)
HSVhsv(216, 65%, 87%)
CMYKcmyk(65.5%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.32, 8.81, -50.48)
CIE-LCHlch(56.32, 51.25, 279.90°)
OKLaboklab(62.59% -0.0291 -0.1437)
OKLCHoklch(62.59% 0.147 258.5)
XYZxyz(25.0391, 24.2310, 73.1552)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87DF #DFA54D
analogous
#4DD0DF #4D87DF #5C4DDF
triadic
#4D87DF #DF4D87 #87DF4D
tetradic
#4D87DF #DF4DD0 #DFA54D #4DDF5C
square
#4D87DF #DF4DD0 #DFA54D #4DDF5C
split-complementary
#4D87DF #DF5C4D #D0DF4D
monochromatic
#1B4C97 #2466CA #4D87DF #81AAE8 #B5CDF2

Accessibility & contrast

On white

3.59
#4D87DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4D87DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87DF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87DF#FFFFFF#000000##000000
##4D87DF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#4A81DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d87df;
/* rgb */ color: rgb(77, 135, 223);
/* oklch */ color: oklch(62.6% 0.147 258.5);
Tailwind
colors: {
  custom: {
    50: '#8da9e9',
    500: '#4d87df',
    950: '#000000',
  },
}
SCSS
$custom: #4d87df;
$custom-light: #8da9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87df",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 216.164,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62591,
    "c": 0.14667,
    "h": 258.5
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#4D87DF
secondary
#E1CAA7
accent
#A63BEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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