#4787C8#4787C8

#4787C8 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 61.0% C 0.119 H 250.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4787C8
RGBrgb(71, 135, 200)
HSLhsl(210, 54%, 53%)
HSVhsv(210, 65%, 78%)
CMYKcmyk(64.5%, 32.5%, 0%, 21.6%)
CIE-LABlab(54.90, -0.10, -39.78)
CIE-LCHlch(54.90, 39.78, 269.86°)
OKLaboklab(61.04% -0.0394 -0.1126)
OKLCHoklch(61.04% 0.119 250.7)
XYZxyz(21.6840, 22.8355, 57.8973)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787C8 #C88847
analogous
#47C7C8 #4787C8 #4747C8
triadic
#4787C8 #C84787 #87C847
tetradic
#4787C8 #C847C7 #C88847 #47C847
square
#4787C8 #C847C7 #C88847 #47C847
split-complementary
#4787C8 #C84747 #C7C847
monochromatic
#224A72 #3068A2 #4787C8 #76A6D6 #A5C4E4

Accessibility & contrast

On white

3.77
#4787C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4787C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787C8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787C8#FFFFFF#000000##000000
##4787C81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACB
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4787c8;
/* rgb */ color: rgb(71, 135, 200);
/* oklch */ color: oklch(61.0% 0.119 250.7);
Tailwind
colors: {
  custom: {
    50: '#87a9d9',
    500: '#4787c8',
    950: '#000000',
  },
}
SCSS
$custom: #4787c8;
$custom-light: #87a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4787c8",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 210.233,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.11926,
    "h": 250.7
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#4787C8
secondary
#D1B69A
accent
#944ADD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4787C8

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

Preview Lab → · Contrast checker → · Palette generator →

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