#4787DC#4787DC

#4787DC is a light, vivid cyan. Relative luminance 0.238; OKLCH L 62.2% C 0.145 H 256.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4787DC
RGBrgb(71, 135, 220)
HSLhsl(214, 68%, 57%)
HSVhsv(214, 68%, 86%)
CMYKcmyk(67.7%, 38.6%, 0%, 13.7%)
CIE-LABlab(55.92, 6.80, -49.45)
CIE-LCHlch(55.92, 49.92, 277.83°)
OKLaboklab(62.16% -0.0343 -0.1408)
OKLCHoklch(62.16% 0.145 256.3)
XYZxyz(24.1761, 23.8324, 71.0223)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787DC #DC9C47
analogous
#47D2DC #4787DC #5147DC
triadic
#4787DC #DC4787 #87DC47
tetradic
#4787DC #DC47D2 #DC9C47 #47DC51
square
#4787DC #DC47D2 #DC9C47 #47DC51
split-complementary
#4787DC #DC5147 #D2DC47
monochromatic
#1B4C8E #2568C1 #4787DC #7AA9E6 #AECAF0

Accessibility & contrast

On white

3.64
#4787DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#4787DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787DC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787DC#FFFFFF#000000##000000
##4787DC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EDF
Deuteranopia (green-blind)
#4A80DA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4787dc;
/* rgb */ color: rgb(71, 135, 220);
/* oklch */ color: oklch(62.2% 0.145 256.3);
Tailwind
colors: {
  custom: {
    50: '#8aa9e7',
    500: '#4787dc',
    950: '#000000',
  },
}
SCSS
$custom: #4787dc;
$custom-light: #8aa9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4787dc",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 214.228,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.14493,
    "h": 256.3
  },
  "luminance": 0.23835
}

Semantic roles & 50–950 ramp

primary
#4787DC
secondary
#DEC4A1
accent
#A03DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4787DC

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

Preview Lab → · Contrast checker → · Palette generator →

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