#4786CA#4786CA

#4786CA is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.123 H 252.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4786CA
RGBrgb(71, 134, 202)
HSLhsl(211, 55%, 54%)
HSVhsv(211, 65%, 79%)
CMYKcmyk(64.9%, 33.7%, 0%, 20.8%)
CIE-LABlab(54.71, 1.18, -41.22)
CIE-LCHlch(54.71, 41.23, 271.64°)
OKLaboklab(60.92% -0.0378 -0.1167)
OKLCHoklch(60.92% 0.123 252)
XYZxyz(21.7804, 22.6519, 59.0901)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786CA #CA8B47
analogous
#47C7CA #4786CA #4947CA
triadic
#4786CA #CA4786 #86CA47
tetradic
#4786CA #CA47C7 #CA8B47 #47CA49
square
#4786CA #CA47C7 #CA8B47 #47CA49
split-complementary
#4786CA #CA4947 #C7CA47
monochromatic
#224A75 #2F68A4 #4786CA #77A5D8 #A6C4E5

Accessibility & contrast

On white

3.80
#4786CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4786CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786CA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786CA#FFFFFF#000000##000000
##4786CA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACD
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4786ca;
/* rgb */ color: rgb(71, 134, 202);
/* oklch */ color: oklch(60.9% 0.123 252.0);
Tailwind
colors: {
  custom: {
    50: '#87a8da',
    500: '#4786ca',
    950: '#000000',
  },
}
SCSS
$custom: #4786ca;
$custom-light: #87a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#4786ca",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 211.145,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.12273,
    "h": 252
  },
  "luminance": 0.22654
}

Semantic roles & 50–950 ramp

primary
#4786CA
secondary
#D2B79A
accent
#9749DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4786CA

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

Preview Lab → · Contrast checker → · Palette generator →

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