#4786CD#4786CD

#4786CD is a mid, vivid cyan. Relative luminance 0.228; OKLCH L 61.1% C 0.127 H 253.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4786CD
RGBrgb(71, 134, 205)
HSLhsl(212, 57%, 54%)
HSVhsv(212, 65%, 80%)
CMYKcmyk(65.4%, 34.6%, 0%, 19.6%)
CIE-LABlab(54.86, 2.21, -42.68)
CIE-LCHlch(54.86, 42.74, 272.96°)
OKLaboklab(61.08% -0.037 -0.121)
OKLCHoklch(61.08% 0.127 253)
XYZxyz(22.1390, 22.7954, 60.9790)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786CD #CD8E47
analogous
#47C9CD #4786CD #4B47CD
triadic
#4786CD #CD4786 #86CD47
tetradic
#4786CD #CD47C9 #CD8E47 #47CD4B
square
#4786CD #CD47C9 #CD8E47 #47CD4B
split-complementary
#4786CD #CD4B47 #C9CD47
monochromatic
#214A79 #2E68A9 #4786CD #77A6DA #A7C5E7

Accessibility & contrast

On white

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

On black

5.56
#4786CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786CD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786CD#FFFFFF#000000##000000
##4786CD1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4786cd;
/* rgb */ color: rgb(71, 134, 205);
/* oklch */ color: oklch(61.1% 0.127 253.0);
Tailwind
colors: {
  custom: {
    50: '#87a8dc',
    500: '#4786cd',
    950: '#000000',
  },
}
SCSS
$custom: #4786cd;
$custom-light: #87a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4786cd",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 211.791,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61084,
    "c": 0.12656,
    "h": 253
  },
  "luminance": 0.22798
}

Semantic roles & 50–950 ramp

primary
#4786CD
secondary
#D4BA9B
accent
#9847E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4786CD

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

Preview Lab → · Contrast checker → · Palette generator →

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