#4787D8#4787D8

#4787D8 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.140 H 255.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4787D8
RGBrgb(71, 135, 216)
HSLhsl(214, 65%, 56%)
HSVhsv(214, 67%, 85%)
CMYKcmyk(67.1%, 37.5%, 0%, 15.3%)
CIE-LABlab(55.71, 5.41, -47.54)
CIE-LCHlch(55.71, 47.85, 276.49°)
OKLaboklab(61.93% -0.0353 -0.1352)
OKLCHoklch(61.93% 0.14 255.4)
XYZxyz(23.6527, 23.6230, 68.2656)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787D8 #D89847
analogous
#47D0D8 #4787D8 #5047D8
triadic
#4787D8 #D84787 #87D847
tetradic
#4787D8 #D847D0 #D89847 #47D850
square
#4787D8 #D847D0 #D89847 #47D850
split-complementary
#4787D8 #D85047 #D0D847
monochromatic
#1D4C88 #2768BA #4787D8 #79A8E3 #ACC9ED

Accessibility & contrast

On white

3.67
#4787D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4787D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787D8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787D8#FFFFFF#000000##000000
##4787D81.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#638DDB
Deuteranopia (green-blind)
#4D7FD6
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4787d8;
/* rgb */ color: rgb(71, 135, 216);
/* oklch */ color: oklch(61.9% 0.140 255.4);
Tailwind
colors: {
  custom: {
    50: '#89a9e4',
    500: '#4787d8',
    950: '#000000',
  },
}
SCSS
$custom: #4787d8;
$custom-light: #89a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4787d8",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 213.517,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6193,
    "c": 0.13974,
    "h": 255.4
  },
  "luminance": 0.23625
}

Semantic roles & 50–950 ramp

primary
#4787D8
secondary
#DBC1A0
accent
#9E40E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4787D8

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

Preview Lab → · Contrast checker → · Palette generator →

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