#4786CC#4786CC

#4786CC is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 61.0% C 0.125 H 252.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4786CC
RGBrgb(71, 134, 204)
HSLhsl(212, 57%, 54%)
HSVhsv(212, 65%, 80%)
CMYKcmyk(65.2%, 34.3%, 0%, 20%)
CIE-LABlab(54.81, 1.86, -42.19)
CIE-LCHlch(54.81, 42.24, 272.53°)
OKLaboklab(61.03% -0.0373 -0.1196)
OKLCHoklch(61.03% 0.125 252.7)
XYZxyz(22.0187, 22.7472, 60.3453)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786CC #CC8D47
analogous
#47C9CC #4786CC #4B47CC
triadic
#4786CC #CC4786 #86CC47
tetradic
#4786CC #CC47C9 #CC8D47 #47CC4B
square
#4786CC #CC47C9 #CC8D47 #47CC4B
split-complementary
#4786CC #CC4B47 #C9CC47
monochromatic
#214A77 #2E68A7 #4786CC #77A6D9 #A7C5E7

Accessibility & contrast

On white

3.78
#4786CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4786CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786CC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786CC#FFFFFF#000000##000000
##4786CC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACF
Deuteranopia (green-blind)
#557DCB
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4786cc;
/* rgb */ color: rgb(71, 134, 204);
/* oklch */ color: oklch(61.0% 0.125 252.7);
Tailwind
colors: {
  custom: {
    50: '#87a8dc',
    500: '#4786cc',
    950: '#000000',
  },
}
SCSS
$custom: #4786cc;
$custom-light: #87a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4786cc",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 211.579,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.12528,
    "h": 252.7
  },
  "luminance": 0.22749
}

Semantic roles & 50–950 ramp

primary
#4786CC
secondary
#D4B99B
accent
#9848E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4786CC

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

Preview Lab → · Contrast checker → · Palette generator →

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