#5787BC#5787BC

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

Color values

HEX#5787BC
RGBrgb(87, 135, 188)
HSLhsl(211, 43%, 54%)
HSVhsv(211, 54%, 74%)
CMYKcmyk(53.7%, 28.2%, 0%, 26.3%)
CIE-LABlab(55.06, -0.83, -32.67)
CIE-LCHlch(55.06, 32.68, 268.55°)
OKLaboklab(61.17% -0.03 -0.0917)
OKLCHoklch(61.17% 0.096 251.9)
XYZxyz(21.6684, 22.9833, 50.8616)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787BC #BC8C57
analogous
#57BABC #5787BC #5A57BC
triadic
#5787BC #BC5787 #87BC57
tetradic
#5787BC #BC57BA #BC8C57 #57BC5A
square
#5787BC #BC57BA #BC8C57 #57BC5A
split-complementary
#5787BC #BC5A57 #BABC57
monochromatic
#2C4B6D #3D6999 #5787BC #83A6CD #AFC6DF

Accessibility & contrast

On white

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

On black

5.60
#5787BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787BC#FFFFFF#000000##000000
##5787BC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#657FBB
Tritanopia (blue-blind)
#1B9399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5787bc;
/* rgb */ color: rgb(87, 135, 188);
/* oklch */ color: oklch(61.2% 0.096 251.9);
Tailwind
colors: {
  custom: {
    50: '#8da9d0',
    500: '#5787bc',
    950: '#000000',
  },
}
SCSS
$custom: #5787bc;
$custom-light: #8da9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5787bc",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 211.485,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.09648,
    "h": 251.9
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#5787BC
secondary
#CDB8A2
accent
#9755D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5787BC

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

Preview Lab → · Contrast checker → · Palette generator →

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