#4D87D2#4D87D2

#4D87D2 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.8% C 0.130 H 255.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4D87D2
RGBrgb(77, 135, 210)
HSLhsl(214, 60%, 56%)
HSVhsv(214, 63%, 82%)
CMYKcmyk(63.3%, 35.7%, 0%, 17.6%)
CIE-LABlab(55.64, 4.37, -44.26)
CIE-LCHlch(55.64, 44.47, 275.64°)
OKLaboklab(61.84% -0.0322 -0.1255)
OKLCHoklch(61.84% 0.13 255.6)
XYZxyz(23.3532, 23.5566, 64.2764)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87D2 #D2984D
analogous
#4DC9D2 #4D87D2 #564DD2
triadic
#4D87D2 #D24D87 #87D24D
tetradic
#4D87D2 #D24DC9 #D2984D #4DD256
square
#4D87D2 #D24DC9 #D2984D #4DD256
split-complementary
#4D87D2 #D2564D #C9D24D
monochromatic
#214C83 #2E68B4 #4D87D2 #7EA8DE #AFC9EB

Accessibility & contrast

On white

3.68
#4D87D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#4D87D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87D2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87D2#FFFFFF#000000##000000
##4D87D21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678CD5
Deuteranopia (green-blind)
#5480D0
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4d87d2;
/* rgb */ color: rgb(77, 135, 210);
/* oklch */ color: oklch(61.8% 0.130 255.6);
Tailwind
colors: {
  custom: {
    50: '#8ba9e0',
    500: '#4d87d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d87d2;
$custom-light: #8ba9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87d2",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 213.835,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.12958,
    "h": 255.6
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

primary
#4D87D2
secondary
#D9C1A2
accent
#9E45E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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