#4C87CA#4C87CA

#4C87CA is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.4% C 0.120 H 253.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4C87CA
RGBrgb(76, 135, 202)
HSLhsl(212, 54%, 55%)
HSVhsv(212, 62%, 79%)
CMYKcmyk(62.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.20, 1.48, -40.43)
CIE-LCHlch(55.20, 40.46, 272.10°)
OKLaboklab(61.36% -0.0351 -0.1144)
OKLCHoklch(61.36% 0.12 253)
XYZxyz(22.3013, 23.1266, 59.1543)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87CA #CA8F4C
analogous
#4CC6CA #4C87CA #504CCA
triadic
#4C87CA #CA4C87 #87CA4C
tetradic
#4C87CA #CA4CC6 #CA8F4C #4CCA50
square
#4C87CA #CA4CC6 #CA8F4C #4CCA50
split-complementary
#4C87CA #CA504C #C6CA4C
monochromatic
#244B78 #3269A7 #4C87CA #7BA7D8 #AAC6E6

Accessibility & contrast

On white

3.73
#4C87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4C87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87CA#FFFFFF#000000##000000
##4C87CA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c87ca;
/* rgb */ color: rgb(76, 135, 202);
/* oklch */ color: oklch(61.4% 0.120 253.0);
Tailwind
colors: {
  custom: {
    50: '#89a9da',
    500: '#4c87ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c87ca;
$custom-light: #89a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87ca",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 211.905,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.11962,
    "h": 253
  },
  "luminance": 0.23129
}

Semantic roles & 50–950 ramp

primary
#4C87CA
secondary
#D4BB9E
accent
#994ADE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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