#4786CB#4786CB

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

Color values

HEX#4786CB
RGBrgb(71, 134, 203)
HSLhsl(211, 56%, 54%)
HSVhsv(211, 65%, 80%)
CMYKcmyk(65%, 34%, 0%, 20.4%)
CIE-LABlab(54.76, 1.52, -41.71)
CIE-LCHlch(54.76, 41.73, 272.09°)
OKLaboklab(60.97% -0.0376 -0.1182)
OKLCHoklch(60.97% 0.124 252.4)
XYZxyz(21.8992, 22.6994, 59.7157)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786CB #CB8C47
analogous
#47C8CB #4786CB #4A47CB
triadic
#4786CB #CB4786 #86CB47
tetradic
#4786CB #CB47C8 #CB8C47 #47CB4A
square
#4786CB #CB47C8 #CB8C47 #47CB4A
split-complementary
#4786CB #CB4A47 #C8CB47
monochromatic
#214A76 #2F68A6 #4786CB #77A5D8 #A6C5E6

Accessibility & contrast

On white

3.79
#4786CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4786CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786CB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786CB#FFFFFF#000000##000000
##4786CB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4786cb;
/* rgb */ color: rgb(71, 134, 203);
/* oklch */ color: oklch(61.0% 0.124 252.4);
Tailwind
colors: {
  custom: {
    50: '#87a8db',
    500: '#4786cb',
    950: '#000000',
  },
}
SCSS
$custom: #4786cb;
$custom-light: #87a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#4786cb",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 211.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.124,
    "h": 252.4
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4786CB

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

Preview Lab → · Contrast checker → · Palette generator →

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