#5786BC#5786BC

#5786BC is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.097 H 252.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5786BC
RGBrgb(87, 134, 188)
HSLhsl(212, 43%, 54%)
HSVhsv(212, 54%, 74%)
CMYKcmyk(53.7%, 28.7%, 0%, 26.3%)
CIE-LABlab(54.77, -0.24, -33.12)
CIE-LCHlch(54.77, 33.12, 269.58°)
OKLaboklab(60.94% -0.0288 -0.093)
OKLCHoklch(60.94% 0.097 252.8)
XYZxyz(21.5295, 22.7056, 50.8153)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786BC #BC8D57
analogous
#57B9BC #5786BC #5B57BC
triadic
#5786BC #BC5786 #86BC57
tetradic
#5786BC #BC57B9 #BC8D57 #57BC5B
square
#5786BC #BC57B9 #BC8D57 #57BC5B
split-complementary
#5786BC #BC5B57 #B9BC57
monochromatic
#2C4A6D #3D6899 #5786BC #83A6CD #AFC5DF

Accessibility & contrast

On white

3.79
#5786BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5786BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786BC#FFFFFF#000000##000000
##5786BC1.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)
#7089BE
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#1C9299
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5786bc;
/* rgb */ color: rgb(87, 134, 188);
/* oklch */ color: oklch(60.9% 0.097 252.8);
Tailwind
colors: {
  custom: {
    50: '#8da9d0',
    500: '#5786bc',
    950: '#000000',
  },
}
SCSS
$custom: #5786bc;
$custom-light: #8da9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5786bc",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 212.079,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.09737,
    "h": 252.8
  },
  "luminance": 0.22707
}

Semantic roles & 50–950 ramp

primary
#5786BC
secondary
#CDB9A2
accent
#9855D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5786BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5786BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva