#4C87CB#4C87CB

#4C87CB is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.121 H 253.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4C87CB
RGBrgb(76, 135, 203)
HSLhsl(212, 55%, 55%)
HSVhsv(212, 63%, 80%)
CMYKcmyk(62.6%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.25, 1.82, -40.92)
CIE-LCHlch(55.25, 40.96, 272.55°)
OKLaboklab(61.41% -0.0348 -0.1158)
OKLCHoklch(61.41% 0.121 253.3)
XYZxyz(22.4201, 23.1741, 59.7799)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87CB #CB904C
analogous
#4CC6CB #4C87CB #514CCB
triadic
#4C87CB #CB4C87 #87CB4C
tetradic
#4C87CB #CB4CC6 #CB904C #4CCB51
square
#4C87CB #CB4CC6 #CB904C #4CCB51
split-complementary
#4C87CB #CB514C #C6CB4C
monochromatic
#234B79 #3169A9 #4C87CB #7BA7D9 #ABC7E7

Accessibility & contrast

On white

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

On black

5.64
#4C87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87CB#FFFFFF#000000##000000
##4C87CB1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c87cb;
/* rgb */ color: rgb(76, 135, 203);
/* oklch */ color: oklch(61.4% 0.121 253.3);
Tailwind
colors: {
  custom: {
    50: '#89a9db',
    500: '#4c87cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c87cb;
$custom-light: #89a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87cb",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 212.126,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.12091,
    "h": 253.3
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#4C87CB
secondary
#D4BB9F
accent
#9949DE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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