#4787CC#4787CC

#4787CC is a mid, vivid cyan. Relative luminance 0.230; OKLCH L 61.3% C 0.124 H 252.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4787CC
RGBrgb(71, 135, 204)
HSLhsl(211, 57%, 54%)
HSVhsv(211, 65%, 80%)
CMYKcmyk(65.2%, 33.8%, 0%, 20%)
CIE-LABlab(55.10, 1.27, -41.74)
CIE-LCHlch(55.10, 41.76, 271.74°)
OKLaboklab(61.25% -0.0383 -0.1183)
OKLCHoklch(61.25% 0.124 252.1)
XYZxyz(22.1576, 23.0250, 60.3916)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787CC #CC8C47
analogous
#47CACC #4787CC #4A47CC
triadic
#4787CC #CC4787 #87CC47
tetradic
#4787CC #CC47CA #CC8C47 #47CC4A
square
#4787CC #CC47CA #CC8C47 #47CC4A
split-complementary
#4787CC #CC4A47 #CACC47
monochromatic
#214B77 #2E69A7 #4787CC #77A6D9 #A7C6E7

Accessibility & contrast

On white

3.75
#4787CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4787CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787CC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787CC#FFFFFF#000000##000000
##4787CC1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4787cc;
/* rgb */ color: rgb(71, 135, 204);
/* oklch */ color: oklch(61.3% 0.124 252.1);
Tailwind
colors: {
  custom: {
    50: '#87a9dc',
    500: '#4787cc',
    950: '#000000',
  },
}
SCSS
$custom: #4787cc;
$custom-light: #87a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4787cc",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 211.128,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.12431,
    "h": 252.1
  },
  "luminance": 0.23027
}

Semantic roles & 50–950 ramp

primary
#4787CC
secondary
#D4B89B
accent
#9748E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4787CC

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

Preview Lab → · Contrast checker → · Palette generator →

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