#4786C5#4786C5

#4786C5 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.6% C 0.116 H 250.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4786C5
RGBrgb(71, 134, 197)
HSLhsl(210, 52%, 53%)
HSVhsv(210, 64%, 77%)
CMYKcmyk(64%, 32%, 0%, 22.7%)
CIE-LABlab(54.47, -0.53, -38.76)
CIE-LCHlch(54.47, 38.77, 269.22°)
OKLaboklab(60.65% -0.0392 -0.1096)
OKLCHoklch(60.65% 0.116 250.3)
XYZxyz(21.1980, 22.4189, 56.0226)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786C5 #C58647
analogous
#47C5C5 #4786C5 #4747C5
triadic
#4786C5 #C54786 #86C547
tetradic
#4786C5 #C547C5 #C58647 #47C547
square
#4786C5 #C547C5 #C58647 #47C547
split-complementary
#4786C5 #C54747 #C5C547
monochromatic
#23496F #32679D #4786C5 #76A5D4 #A4C3E2

Accessibility & contrast

On white

3.83
#4786C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4786C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786C5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786C5#FFFFFF#000000##000000
##4786C51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C8
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4786c5;
/* rgb */ color: rgb(71, 134, 197);
/* oklch */ color: oklch(60.6% 0.116 250.3);
Tailwind
colors: {
  custom: {
    50: '#86a8d7',
    500: '#4786c5',
    950: '#000000',
  },
}
SCSS
$custom: #4786c5;
$custom-light: #86a8d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4786c5",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 197
  },
  "hsl": {
    "h": 210,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.11641,
    "h": 250.3
  },
  "luminance": 0.22421
}

Semantic roles & 50–950 ramp

primary
#4786C5
secondary
#CFB499
accent
#944CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4786C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4786C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva