#4787CD#4787CD

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

Color values

HEX#4787CD
RGBrgb(71, 135, 205)
HSLhsl(211, 57%, 54%)
HSVhsv(211, 65%, 80%)
CMYKcmyk(65.4%, 34.1%, 0%, 19.6%)
CIE-LABlab(55.15, 1.61, -42.23)
CIE-LCHlch(55.15, 42.26, 272.19°)
OKLaboklab(61.31% -0.038 -0.1197)
OKLCHoklch(61.31% 0.126 252.4)
XYZxyz(22.2779, 23.0731, 61.0253)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787CD #CD8D47
analogous
#47CACD #4787CD #4A47CD
triadic
#4787CD #CD4787 #87CD47
tetradic
#4787CD #CD47CA #CD8D47 #47CD4A
square
#4787CD #CD47CA #CD8D47 #47CD4A
split-complementary
#4787CD #CD4A47 #CACD47
monochromatic
#214B79 #2E69A9 #4787CD #77A6DA #A7C6E7

Accessibility & contrast

On white

3.74
#4787CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4787CD#FFFFFF#000000##000000
##4787CD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4787cd;
/* rgb */ color: rgb(71, 135, 205);
/* oklch */ color: oklch(61.3% 0.126 252.4);
Tailwind
colors: {
  custom: {
    50: '#87a9dc',
    500: '#4787cd',
    950: '#000000',
  },
}
SCSS
$custom: #4787cd;
$custom-light: #87a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4787cd",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 211.343,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.12558,
    "h": 252.4
  },
  "luminance": 0.23075
}

Semantic roles & 50–950 ramp

primary
#4787CD
secondary
#D4B99B
accent
#9747E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4787CD

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

Preview Lab → · Contrast checker → · Palette generator →

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