#4C87BA#4C87BA

#4C87BA is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.100 H 246.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4C87BA
RGBrgb(76, 135, 186)
HSLhsl(208, 44%, 51%)
HSVhsv(208, 59%, 73%)
CMYKcmyk(59.1%, 27.4%, 0%, 27.1%)
CIE-LABlab(54.46, -3.82, -32.50)
CIE-LCHlch(54.46, 32.73, 263.30°)
OKLaboklab(60.53% -0.0398 -0.0914)
OKLCHoklch(60.53% 0.1 246.5)
XYZxyz(20.5042, 22.4078, 49.6894)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87BA #BA7F4C
analogous
#4CBAB6 #4C87BA #4C50BA
triadic
#4C87BA #BA4C87 #87BA4C
tetradic
#4C87BA #B64CBA #BA7F4C #50BA4C
square
#4C87BA #B64CBA #BA7F4C #50BA4C
split-complementary
#4C87BA #BA4C50 #BAB64C
monochromatic
#274865 #386891 #4C87BA #78A5CB #A4C2DC

Accessibility & contrast

On white

3.83
#4C87BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4C87BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87BA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87BA#FFFFFF#000000##000000
##4C87BA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c87ba;
/* rgb */ color: rgb(76, 135, 186);
/* oklch */ color: oklch(60.5% 0.100 246.5);
Tailwind
colors: {
  custom: {
    50: '#87a9cf',
    500: '#4c87ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c87ba;
$custom-light: #87a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87ba",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 207.818,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.09965,
    "h": 246.5
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#4C87BA
secondary
#C9AF99
accent
#8F54D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4C87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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