#5787BD#5787BD

#5787BD is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 61.2% C 0.098 H 252.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5787BD
RGBrgb(87, 135, 189)
HSLhsl(212, 44%, 54%)
HSVhsv(212, 54%, 74%)
CMYKcmyk(54%, 28.6%, 0%, 25.9%)
CIE-LABlab(55.10, -0.51, -33.17)
CIE-LCHlch(55.10, 33.18, 269.12°)
OKLaboklab(61.22% -0.0297 -0.0931)
OKLCHoklch(61.22% 0.098 252.3)
XYZxyz(21.7765, 23.0266, 51.4313)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787BD #BD8D57
analogous
#57BABD #5787BD #5A57BD
triadic
#5787BD #BD5787 #87BD57
tetradic
#5787BD #BD57BA #BD8D57 #57BD5A
square
#5787BD #BD57BA #BD8D57 #57BD5A
split-complementary
#5787BD #BD5A57 #BABD57
monochromatic
#2B4B6E #3D699A #5787BD #83A6CE #AFC6E0

Accessibility & contrast

On white

3.75
#5787BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5787BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787BD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787BD#FFFFFF#000000##000000
##5787BD1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BF
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#1A939A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5787bd;
/* rgb */ color: rgb(87, 135, 189);
/* oklch */ color: oklch(61.2% 0.098 252.3);
Tailwind
colors: {
  custom: {
    50: '#8da9d1',
    500: '#5787bd',
    950: '#000000',
  },
}
SCSS
$custom: #5787bd;
$custom-light: #8da9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5787bd",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 211.765,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61217,
    "c": 0.09776,
    "h": 252.3
  },
  "luminance": 0.23028
}

Semantic roles & 50–950 ramp

primary
#5787BD
secondary
#CEB9A2
accent
#9854D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5787BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5787BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva