#4787CF#4787CF

#4787CF is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.128 H 253.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4787CF
RGBrgb(71, 135, 207)
HSLhsl(212, 59%, 55%)
HSVhsv(212, 66%, 81%)
CMYKcmyk(65.7%, 34.8%, 0%, 18.8%)
CIE-LABlab(55.25, 2.30, -43.20)
CIE-LCHlch(55.25, 43.26, 273.05°)
OKLaboklab(61.42% -0.0375 -0.1225)
OKLCHoklch(61.42% 0.128 253)
XYZxyz(22.5209, 23.1703, 62.3048)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787CF #CF8F47
analogous
#47CBCF #4787CF #4B47CF
triadic
#4787CF #CF4787 #87CF47
tetradic
#4787CF #CF47CB #CF8F47 #47CF4B
square
#4787CF #CF47CB #CF8F47 #47CF4B
split-complementary
#4787CF #CF4B47 #CBCF47
monochromatic
#204B7B #2D69AC #4787CF #78A7DC #A8C6E8

Accessibility & contrast

On white

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

On black

5.63
#4787CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787CF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787CF#FFFFFF#000000##000000
##4787CF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#547ECE
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4787cf;
/* rgb */ color: rgb(71, 135, 207);
/* oklch */ color: oklch(61.4% 0.128 253.0);
Tailwind
colors: {
  custom: {
    50: '#88a9de',
    500: '#4787cf',
    950: '#000000',
  },
}
SCSS
$custom: #4787cf;
$custom-light: #88a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#4787cf",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 211.765,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.12813,
    "h": 253
  },
  "luminance": 0.23173
}

Semantic roles & 50–950 ramp

primary
#4787CF
secondary
#D6BB9C
accent
#9846E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4787CF

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

Preview Lab → · Contrast checker → · Palette generator →

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