#4C87CE#4C87CE

#4C87CE is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.6% C 0.125 H 254.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4C87CE
RGBrgb(76, 135, 206)
HSLhsl(213, 57%, 55%)
HSVhsv(213, 63%, 81%)
CMYKcmyk(63.1%, 34.5%, 0%, 19.2%)
CIE-LABlab(55.40, 2.83, -42.38)
CIE-LCHlch(55.40, 42.48, 273.82°)
OKLaboklab(61.58% -0.034 -0.1201)
OKLCHoklch(61.58% 0.125 254.2)
XYZxyz(22.7810, 23.3185, 61.6809)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87CE #CE934C
analogous
#4CC8CE #4C87CE #524CCE
triadic
#4C87CE #CE4C87 #87CE4C
tetradic
#4C87CE #CE4CC8 #CE934C #4CCE52
square
#4C87CE #CE4CC8 #CE934C #4CCE52
split-complementary
#4C87CE #CE524C #C8CE4C
monochromatic
#224C7D #2F69AD #4C87CE #7CA7DB #ACC7E8

Accessibility & contrast

On white

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

On black

5.66
#4C87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87CE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87CE#FFFFFF#000000##000000
##4C87CE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4c87ce;
/* rgb */ color: rgb(76, 135, 206);
/* oklch */ color: oklch(61.6% 0.125 254.2);
Tailwind
colors: {
  custom: {
    50: '#8aa9dd',
    500: '#4c87ce',
    950: '#000000',
  },
}
SCSS
$custom: #4c87ce;
$custom-light: #8aa9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87ce",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 212.769,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.12479,
    "h": 254.2
  },
  "luminance": 0.23321
}

Semantic roles & 50–950 ramp

primary
#4C87CE
secondary
#D6BDA0
accent
#9B48E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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