#4D87D8#4D87D8

#4D87D8 is a light, vivid cyan. Relative luminance 0.239; OKLCH L 62.2% C 0.137 H 257.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4D87D8
RGBrgb(77, 135, 216)
HSLhsl(215, 64%, 57%)
HSVhsv(215, 64%, 85%)
CMYKcmyk(64.4%, 37.5%, 0%, 15.3%)
CIE-LABlab(55.95, 6.41, -47.15)
CIE-LCHlch(55.95, 47.58, 277.74°)
OKLaboklab(62.18% -0.0307 -0.134)
OKLCHoklch(62.18% 0.137 257.1)
XYZxyz(24.1148, 23.8613, 68.2873)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87D8 #D89E4D
analogous
#4DCCD8 #4D87D8 #594DD8
triadic
#4D87D8 #D84D87 #87D84D
tetradic
#4D87D8 #D84DCC #D89E4D #4DD859
square
#4D87D8 #D84DCC #D89E4D #4DD859
split-complementary
#4D87D8 #D8594D #CCD84D
monochromatic
#1F4C8C #2A68BE #4D87D8 #7FA9E3 #B1CBEE

Accessibility & contrast

On white

3.64
#4D87D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#4D87D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87D8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87D8#FFFFFF#000000##000000
##4D87D81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#638DDB
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4d87d8;
/* rgb */ color: rgb(77, 135, 216);
/* oklch */ color: oklch(62.2% 0.137 257.1);
Tailwind
colors: {
  custom: {
    50: '#8ca9e4',
    500: '#4d87d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d87d8;
$custom-light: #8ca9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87d8",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 214.964,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62183,
    "c": 0.13745,
    "h": 257.1
  },
  "luminance": 0.23864
}

Semantic roles & 50–950 ramp

primary
#4D87D8
secondary
#DCC5A4
accent
#A241E7
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4D87D8

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

Preview Lab → · Contrast checker → · Palette generator →

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