#4786C2#4786C2

#4786C2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.5% C 0.113 H 249.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4786C2
RGBrgb(71, 134, 194)
HSLhsl(209, 50%, 52%)
HSVhsv(209, 63%, 76%)
CMYKcmyk(63.4%, 30.9%, 0%, 23.9%)
CIE-LABlab(54.33, -1.54, -37.28)
CIE-LCHlch(54.33, 37.32, 267.63°)
OKLaboklab(60.49% -0.0401 -0.1053)
OKLCHoklch(60.49% 0.113 249.2)
XYZxyz(20.8576, 22.2828, 54.2303)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786C2 #C28347
analogous
#47C2C0 #4786C2 #4749C2
triadic
#4786C2 #C24786 #86C247
tetradic
#4786C2 #C047C2 #C28347 #49C247
square
#4786C2 #C047C2 #C28347 #49C247
split-complementary
#4786C2 #C24749 #C2C047
monochromatic
#24486B #336799 #4786C2 #75A4D1 #A3C2E0

Accessibility & contrast

On white

3.85
#4786C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4786C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786C2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786C2#FFFFFF#000000##000000
##4786C21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C5
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4786c2;
/* rgb */ color: rgb(71, 134, 194);
/* oklch */ color: oklch(60.5% 0.113 249.2);
Tailwind
colors: {
  custom: {
    50: '#86a9d4',
    500: '#4786c2',
    950: '#000000',
  },
}
SCSS
$custom: #4786c2;
$custom-light: #86a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4786c2",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 194
  },
  "hsl": {
    "h": 209.268,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.11266,
    "h": 249.2
  },
  "luminance": 0.22285
}

Semantic roles & 50–950 ramp

primary
#4786C2
secondary
#CDB297
accent
#924EDA
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4786C2

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

Preview Lab → · Contrast checker → · Palette generator →

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