#4D87D9#4D87D9

#4D87D9 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.2% C 0.139 H 257.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4D87D9
RGBrgb(77, 135, 217)
HSLhsl(215, 65%, 58%)
HSVhsv(215, 65%, 85%)
CMYKcmyk(64.5%, 37.8%, 0%, 14.9%)
CIE-LABlab(56.00, 6.75, -47.62)
CIE-LCHlch(56.00, 48.10, 278.07°)
OKLaboklab(62.24% -0.0305 -0.1354)
OKLCHoklch(62.24% 0.139 257.3)
XYZxyz(24.2444, 23.9131, 68.9702)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87D9 #D99F4D
analogous
#4DCDD9 #4D87D9 #594DD9
triadic
#4D87D9 #D94D87 #87D94D
tetradic
#4D87D9 #D94DCD #D99F4D #4DD959
square
#4D87D9 #D94DCD #D99F4D #4DD959
split-complementary
#4D87D9 #D9594D #CDD94D
monochromatic
#1E4C8D #2967C0 #4D87D9 #7FA9E4 #B2CBEF

Accessibility & contrast

On white

3.63
#4D87D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#4D87D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87D9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87D9#FFFFFF#000000##000000
##4D87D91.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#638DDC
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4d87d9;
/* rgb */ color: rgb(77, 135, 217);
/* oklch */ color: oklch(62.2% 0.139 257.3);
Tailwind
colors: {
  custom: {
    50: '#8ca9e5',
    500: '#4d87d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d87d9;
$custom-light: #8ca9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87d9",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 215.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62241,
    "c": 0.13876,
    "h": 257.3
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#4D87D9
secondary
#DDC6A5
accent
#A240E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D87D9

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

Preview Lab → · Contrast checker → · Palette generator →

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