#4787CE#4787CE

#4787CE is a mid, vivid cyan. Relative luminance 0.231; OKLCH L 61.4% C 0.127 H 252.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4787CE
RGBrgb(71, 135, 206)
HSLhsl(212, 58%, 54%)
HSVhsv(212, 66%, 81%)
CMYKcmyk(65.5%, 34.5%, 0%, 19.2%)
CIE-LABlab(55.20, 1.96, -42.72)
CIE-LCHlch(55.20, 42.76, 272.62°)
OKLaboklab(61.36% -0.0378 -0.1211)
OKLCHoklch(61.36% 0.127 252.7)
XYZxyz(22.3990, 23.1215, 61.6630)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787CE #CE8E47
analogous
#47CACE #4787CE #4B47CE
triadic
#4787CE #CE4787 #87CE47
tetradic
#4787CE #CE47CA #CE8E47 #47CE4B
square
#4787CE #CE47CA #CE8E47 #47CE4B
split-complementary
#4787CE #CE4B47 #CACE47
monochromatic
#214B7A #2D69AA #4787CE #77A7DB #A8C6E8

Accessibility & contrast

On white

3.73
#4787CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4787CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787CE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787CE#FFFFFF#000000##000000
##4787CE1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#557ECD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4787ce;
/* rgb */ color: rgb(71, 135, 206);
/* oklch */ color: oklch(61.4% 0.127 252.7);
Tailwind
colors: {
  custom: {
    50: '#87a9dd',
    500: '#4787ce',
    950: '#000000',
  },
}
SCSS
$custom: #4787ce;
$custom-light: #87a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4787ce",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 211.556,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.12685,
    "h": 252.7
  },
  "luminance": 0.23124
}

Semantic roles & 50–950 ramp

primary
#4787CE
secondary
#D5BA9C
accent
#9847E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4787CE

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

Preview Lab → · Contrast checker → · Palette generator →

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