#4C87CF#4C87CF

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

Color values

HEX#4C87CF
RGBrgb(76, 135, 207)
HSLhsl(213, 58%, 55%)
HSVhsv(213, 63%, 81%)
CMYKcmyk(63.3%, 34.8%, 0%, 18.8%)
CIE-LABlab(55.45, 3.17, -42.87)
CIE-LCHlch(55.45, 42.99, 274.23°)
OKLaboklab(61.63% -0.0337 -0.1215)
OKLCHoklch(61.63% 0.126 254.5)
XYZxyz(22.9029, 23.3672, 62.3227)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87CF #CF944C
analogous
#4CC8CF #4C87CF #524CCF
triadic
#4C87CF #CF4C87 #87CF4C
tetradic
#4C87CF #CF4CC8 #CF944C #4CCF52
square
#4C87CF #CF4CC8 #CF944C #4CCF52
split-complementary
#4C87CF #CF524C #C8CF4C
monochromatic
#224C7F #2F69AF #4C87CF #7CA7DC #ADC8E9

Accessibility & contrast

On white

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

On black

5.67
#4C87CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87CF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87CF#FFFFFF#000000##000000
##4C87CF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.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: #4c87cf;
/* rgb */ color: rgb(76, 135, 207);
/* oklch */ color: oklch(61.6% 0.126 254.5);
Tailwind
colors: {
  custom: {
    50: '#8aa9de',
    500: '#4c87cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c87cf;
$custom-light: #8aa9de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87cf",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 212.977,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.12609,
    "h": 254.5
  },
  "luminance": 0.23369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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