#4C87BF#4C87BF

#4C87BF is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.106 H 248.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4C87BF
RGBrgb(76, 135, 191)
HSLhsl(209, 47%, 52%)
HSVhsv(209, 60%, 75%)
CMYKcmyk(60.2%, 29.3%, 0%, 25.1%)
CIE-LABlab(54.68, -2.18, -35.00)
CIE-LCHlch(54.68, 35.07, 266.43°)
OKLaboklab(60.78% -0.0382 -0.0986)
OKLCHoklch(60.78% 0.106 248.8)
XYZxyz(21.0450, 22.6241, 52.5379)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C87BF #BF844C
analogous
#4CBFBD #4C87BF #4C4EBF
triadic
#4C87BF #BF4C87 #87BF4C
tetradic
#4C87BF #BD4CBF #BF844C #4EBF4C
square
#4C87BF #BD4CBF #BF844C #4EBF4C
split-complementary
#4C87BF #BF4C4E #BFBD4C
monochromatic
#26496B #366898 #4C87BF #79A5CF #A6C3DF

Accessibility & contrast

On white

3.80
#4C87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4C87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C87BF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C87BF#FFFFFF#000000##000000
##4C87BF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c87bf;
/* rgb */ color: rgb(76, 135, 191);
/* oklch */ color: oklch(60.8% 0.106 248.8);
Tailwind
colors: {
  custom: {
    50: '#88a9d2',
    500: '#4c87bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c87bf;
$custom-light: #88a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c87bf",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 209.217,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.10575,
    "h": 248.8
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#4C87BF
secondary
#CCB39A
accent
#9251D7
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4C87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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