#5786BB#5786BB

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

Color values

HEX#5786BB
RGBrgb(87, 134, 187)
HSLhsl(212, 42%, 54%)
HSVhsv(212, 53%, 73%)
CMYKcmyk(53.5%, 28.3%, 0%, 26.7%)
CIE-LABlab(54.72, -0.56, -32.62)
CIE-LCHlch(54.72, 32.62, 269.02°)
OKLaboklab(60.89% -0.0291 -0.0916)
OKLCHoklch(60.89% 0.096 252.3)
XYZxyz(21.4221, 22.6626, 50.2495)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786BB #BB8C57
analogous
#57B8BB #5786BB #5A57BB
triadic
#5786BB #BB5786 #86BB57
tetradic
#5786BB #BB57B8 #BB8C57 #57BB5A
square
#5786BB #BB57B8 #BB8C57 #57BB5A
split-complementary
#5786BB #BB5A57 #B8BB57
monochromatic
#2C4A6C #3D6897 #5786BB #83A5CD #AEC5DE

Accessibility & contrast

On white

3.80
#5786BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5786BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786BB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786BB#FFFFFF#000000##000000
##5786BB1.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)
#7188BD
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#1D9299
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5786bb;
/* rgb */ color: rgb(87, 134, 187);
/* oklch */ color: oklch(60.9% 0.096 252.3);
Tailwind
colors: {
  custom: {
    50: '#8da9cf',
    500: '#5786bb',
    950: '#000000',
  },
}
SCSS
$custom: #5786bb;
$custom-light: #8da9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5786bb",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 211.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.09607,
    "h": 252.3
  },
  "luminance": 0.22664
}

Semantic roles & 50–950 ramp

primary
#5786BB
secondary
#CCB8A2
accent
#9856D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5786BB

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

Preview Lab → · Contrast checker → · Palette generator →

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