#4D87CC#4D87CC

#4D87CC is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.122 H 253.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4D87CC
RGBrgb(77, 135, 204)
HSLhsl(213, 55%, 55%)
HSVhsv(213, 62%, 80%)
CMYKcmyk(62.3%, 33.8%, 0%, 20%)
CIE-LABlab(55.34, 2.34, -41.34)
CIE-LCHlch(55.34, 41.41, 273.24°)
OKLaboklab(61.51% -0.0337 -0.117)
OKLCHoklch(61.51% 0.122 253.9)
XYZxyz(22.6197, 23.2632, 60.4132)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87CC #CC924D
analogous
#4DC7CC #4D87CC #524DCC
triadic
#4D87CC #CC4D87 #87CC4D
tetradic
#4D87CC #CC4DC7 #CC924D #4DCC52
square
#4D87CC #CC4DC7 #CC924D #4DCC52
split-complementary
#4D87CC #CC524D #C7CC4D
monochromatic
#234B7B #3169AB #4D87CC #7DA7DA #ACC7E7

Accessibility & contrast

On white

3.71
#4D87CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4D87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87CC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87CC#FFFFFF#000000##000000
##4D87CC1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4d87cc;
/* rgb */ color: rgb(77, 135, 204);
/* oklch */ color: oklch(61.5% 0.122 253.9);
Tailwind
colors: {
  custom: {
    50: '#8aa9dc',
    500: '#4d87cc',
    950: '#000000',
  },
}
SCSS
$custom: #4d87cc;
$custom-light: #8aa9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87cc",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 212.598,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.12178,
    "h": 253.9
  },
  "luminance": 0.23265
}

Semantic roles & 50–950 ramp

primary
#4D87CC
secondary
#D5BDA0
accent
#9A49DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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