#4D87D4#4D87D4

#4D87D4 is a mid, vivid cyan. Relative luminance 0.237; OKLCH L 62.0% C 0.132 H 256.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4D87D4
RGBrgb(77, 135, 212)
HSLhsl(214, 61%, 57%)
HSVhsv(214, 64%, 83%)
CMYKcmyk(63.7%, 36.3%, 0%, 16.9%)
CIE-LABlab(55.74, 5.05, -45.22)
CIE-LCHlch(55.74, 45.50, 276.37°)
OKLaboklab(61.96% -0.0317 -0.1283)
OKLCHoklch(61.96% 0.132 256.1)
XYZxyz(23.6039, 23.6569, 65.5969)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87D4 #D49A4D
analogous
#4DCBD4 #4D87D4 #574DD4
triadic
#4D87D4 #D44D87 #87D44D
tetradic
#4D87D4 #D44DCB #D49A4D #4DD457
square
#4D87D4 #D44DCB #D49A4D #4DD457
split-complementary
#4D87D4 #D4574D #CBD44D
monochromatic
#204C86 #2C68B7 #4D87D4 #7EA8E0 #B0C9EC

Accessibility & contrast

On white

3.66
#4D87D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4D87D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87D4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87D4#FFFFFF#000000##000000
##4D87D41.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DD7
Deuteranopia (green-blind)
#5380D2
Tritanopia (blue-blind)
#0099A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4d87d4;
/* rgb */ color: rgb(77, 135, 212);
/* oklch */ color: oklch(62.0% 0.132 256.1);
Tailwind
colors: {
  custom: {
    50: '#8ba9e1',
    500: '#4d87d4',
    950: '#000000',
  },
}
SCSS
$custom: #4d87d4;
$custom-light: #8ba9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87d4",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 214.222,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.13219,
    "h": 256.1
  },
  "luminance": 0.23659
}

Semantic roles & 50–950 ramp

primary
#4D87D4
secondary
#DAC2A3
accent
#9F44E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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