#4D87F0#4D87F0

#4D87F0 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.6% C 0.169 H 261.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4D87F0
RGBrgb(77, 135, 240)
HSLhsl(219, 84%, 62%)
HSVhsv(219, 68%, 94%)
CMYKcmyk(67.9%, 43.8%, 0%, 5.9%)
CIE-LABlab(57.26, 14.69, -58.44)
CIE-LCHlch(57.26, 60.26, 284.11°)
OKLaboklab(63.63% -0.0258 -0.1671)
OKLCHoklch(63.63% 0.169 261.2)
XYZxyz(27.4471, 25.1942, 85.8377)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87F0 #F0B64D
analogous
#4DD9F0 #4D87F0 #644DF0
triadic
#4D87F0 #F04D87 #87F04D
tetradic
#4D87F0 #F04DD9 #F0B64D #4DF064
square
#4D87F0 #F04DD9 #F0B64D #4DF064
split-complementary
#4D87F0 #F0644D #D9F04D
monochromatic
#0F4AB3 #1561EB #4D87F0 #85ADF5 #BED3FA

Accessibility & contrast

On white

3.48
#4D87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#4D87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87F0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87F0#FFFFFF#000000##000000
##4D87F01.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F4
Deuteranopia (green-blind)
#3682EE
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4d87f0;
/* rgb */ color: rgb(77, 135, 240);
/* oklch */ color: oklch(63.6% 0.169 261.2);
Tailwind
colors: {
  custom: {
    50: '#90a9f5',
    500: '#4d87f0',
    950: '#000000',
  },
}
SCSS
$custom: #4d87f0;
$custom-light: #90a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87f0",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 218.65,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63629,
    "c": 0.1691,
    "h": 261.2
  },
  "luminance": 0.25197
}

Semantic roles & 50–950 ramp

primary
#4D87F0
secondary
#EAD5AE
accent
#9305E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4D87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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