#4786CE#4786CE

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

Color values

HEX#4786CE
RGBrgb(71, 134, 206)
HSLhsl(212, 58%, 54%)
HSVhsv(212, 66%, 81%)
CMYKcmyk(65.5%, 35%, 0%, 19.2%)
CIE-LABlab(54.91, 2.55, -43.17)
CIE-LCHlch(54.91, 43.24, 273.38°)
OKLaboklab(61.14% -0.0368 -0.1224)
OKLCHoklch(61.14% 0.128 253.3)
XYZxyz(22.2601, 22.8438, 61.6167)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786CE #CE8F47
analogous
#47CACE #4786CE #4C47CE
triadic
#4786CE #CE4786 #86CE47
tetradic
#4786CE #CE47CA #CE8F47 #47CE4C
square
#4786CE #CE47CA #CE8F47 #47CE4C
split-complementary
#4786CE #CE4C47 #CACE47
monochromatic
#214A7A #2D68AA #4786CE #77A6DB #A8C6E8

Accessibility & contrast

On white

3.77
#4786CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4786CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786CE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786CE#FFFFFF#000000##000000
##4786CE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD1
Deuteranopia (green-blind)
#547ECD
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4786ce;
/* rgb */ color: rgb(71, 134, 206);
/* oklch */ color: oklch(61.1% 0.128 253.3);
Tailwind
colors: {
  custom: {
    50: '#87a8dd',
    500: '#4786ce',
    950: '#000000',
  },
}
SCSS
$custom: #4786ce;
$custom-light: #87a8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4786ce",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 212,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.12784,
    "h": 253.3
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#4786CE
secondary
#D5BA9C
accent
#9947E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4786CE

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

Preview Lab → · Contrast checker → · Palette generator →

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