#4D87CF#4D87CF

#4D87CF is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.126 H 254.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4D87CF
RGBrgb(77, 135, 207)
HSLhsl(213, 58%, 56%)
HSVhsv(213, 63%, 81%)
CMYKcmyk(62.8%, 34.8%, 0%, 18.8%)
CIE-LABlab(55.49, 3.35, -42.80)
CIE-LCHlch(55.49, 42.93, 274.48°)
OKLaboklab(61.68% -0.0329 -0.1213)
OKLCHoklch(61.68% 0.126 254.8)
XYZxyz(22.9830, 23.4085, 62.3265)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87CF #CF954D
analogous
#4DC8CF #4D87CF #544DCF
triadic
#4D87CF #CF4D87 #87CF4D
tetradic
#4D87CF #CF4DC8 #CF954D #4DCF54
square
#4D87CF #CF4DC8 #CF954D #4DCF54
split-complementary
#4D87CF #CF544D #C8CF4D
monochromatic
#224C7F #2F68AF #4D87CF #7DA7DC #ADC8E9

Accessibility & contrast

On white

3.70
#4D87CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#4D87CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87CF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87CF#FFFFFF#000000##000000
##4D87CF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#567FCE
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4d87cf;
/* rgb */ color: rgb(77, 135, 207);
/* oklch */ color: oklch(61.7% 0.126 254.8);
Tailwind
colors: {
  custom: {
    50: '#8aa9de',
    500: '#4d87cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d87cf;
$custom-light: #8aa9de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87cf",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 213.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.12567,
    "h": 254.8
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#4D87CF
secondary
#D7BFA1
accent
#9C47E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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