#5786B8#5786B8

#5786B8 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.092 H 251.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5786B8
RGBrgb(87, 134, 184)
HSLhsl(211, 41%, 53%)
HSVhsv(211, 53%, 72%)
CMYKcmyk(52.7%, 27.2%, 0%, 27.8%)
CIE-LABlab(54.59, -1.50, -31.11)
CIE-LCHlch(54.59, 31.15, 267.24°)
OKLaboklab(60.74% -0.0301 -0.0872)
OKLCHoklch(60.74% 0.092 251)
XYZxyz(21.1043, 22.5355, 48.5758)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786B8 #B88957
analogous
#57B6B8 #5786B8 #5857B8
triadic
#5786B8 #B85786 #86B857
tetradic
#5786B8 #B857B6 #B88957 #57B858
square
#5786B8 #B857B6 #B88957 #57B858
split-complementary
#5786B8 #B85857 #B6B857
monochromatic
#2C4968 #3E6893 #5786B8 #82A5CA #ADC4DC

Accessibility & contrast

On white

3.81
#5786B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5786B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786B8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786B8#FFFFFF#000000##000000
##5786B81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7288BA
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#229197
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5786b8;
/* rgb */ color: rgb(87, 134, 184);
/* oklch */ color: oklch(60.7% 0.092 251.0);
Tailwind
colors: {
  custom: {
    50: '#8ca9cd',
    500: '#5786b8',
    950: '#000000',
  },
}
SCSS
$custom: #5786b8;
$custom-light: #8ca9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5786b8",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 184
  },
  "hsl": {
    "h": 210.928,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.09224,
    "h": 251
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

primary
#5786B8
secondary
#CAB6A0
accent
#9657D0
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0D0F13
muted
#7D7F82

Preview Lab

Preview with #5786B8

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

Preview Lab → · Contrast checker → · Palette generator →

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