#4C87BB#4C87BB

#4C87BB is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.6% C 0.101 H 247.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4C87BB
RGBrgb(76, 135, 187)
HSLhsl(208, 45%, 52%)
HSVhsv(208, 59%, 73%)
CMYKcmyk(59.4%, 27.8%, 0%, 26.7%)
CIE-LABlab(54.50, -3.49, -33.00)
CIE-LCHlch(54.50, 33.19, 263.96°)
OKLaboklab(60.58% -0.0395 -0.0928)
OKLCHoklch(60.58% 0.101 247)
XYZxyz(20.6108, 22.4504, 50.2513)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87BB #BB804C
analogous
#4CBBB8 #4C87BB #4C50BB
triadic
#4C87BB #BB4C87 #87BB4C
tetradic
#4C87BB #B84CBB #BB804C #50BB4C
square
#4C87BB #B84CBB #BB804C #50BB4C
split-complementary
#4C87BB #BB4C50 #BBB84C
monochromatic
#274866 #386892 #4C87BB #78A5CC #A5C2DD

Accessibility & contrast

On white

3.82
#4C87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4C87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87BB#FFFFFF#000000##000000
##4C87BB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BD
Deuteranopia (green-blind)
#627DBA
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c87bb;
/* rgb */ color: rgb(76, 135, 187);
/* oklch */ color: oklch(60.6% 0.101 247.0);
Tailwind
colors: {
  custom: {
    50: '#87a9cf',
    500: '#4c87bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c87bb;
$custom-light: #87a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87bb",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 208.108,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.10085,
    "h": 247
  },
  "luminance": 0.22452
}

Semantic roles & 50–950 ramp

primary
#4C87BB
secondary
#CAB099
accent
#9053D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4C87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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