#4787BC#4787BC

#4787BC is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.4% C 0.105 H 245.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4787BC
RGBrgb(71, 135, 188)
HSLhsl(207, 47%, 51%)
HSVhsv(207, 62%, 74%)
CMYKcmyk(62.2%, 28.2%, 0%, 26.3%)
CIE-LABlab(54.34, -4.14, -33.84)
CIE-LCHlch(54.34, 34.09, 263.03°)
OKLaboklab(60.41% -0.043 -0.0953)
OKLCHoklch(60.41% 0.105 245.7)
XYZxyz(20.3362, 22.2964, 50.7991)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787BC #BC7C47
analogous
#47BCB6 #4787BC #474CBC
triadic
#4787BC #BC4787 #87BC47
tetradic
#4787BC #B647BC #BC7C47 #4CBC47
square
#4787BC #B647BC #BC7C47 #4CBC47
split-complementary
#4787BC #BC474C #BCB647
monochromatic
#244764 #356791 #4787BC #74A4CC #A1C2DD

Accessibility & contrast

On white

3.85
#4787BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4787BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787BC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787BC#FFFFFF#000000##000000
##4787BC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BE
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4787bc;
/* rgb */ color: rgb(71, 135, 188);
/* oklch */ color: oklch(60.4% 0.105 245.7);
Tailwind
colors: {
  custom: {
    50: '#85a9d0',
    500: '#4787bc',
    950: '#000000',
  },
}
SCSS
$custom: #4787bc;
$custom-light: #85a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4787bc",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 207.179,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.10454,
    "h": 245.7
  },
  "luminance": 0.22298
}

Semantic roles & 50–950 ramp

primary
#4787BC
secondary
#C9AD95
accent
#8E52D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4787BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4787BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva