#5787BB#5787BB

#5787BB is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.095 H 251.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5787BB
RGBrgb(87, 135, 187)
HSLhsl(211, 42%, 54%)
HSVhsv(211, 53%, 73%)
CMYKcmyk(53.5%, 27.8%, 0%, 26.7%)
CIE-LABlab(55.01, -1.14, -32.17)
CIE-LCHlch(55.01, 32.19, 267.97°)
OKLaboklab(61.12% -0.0303 -0.0902)
OKLCHoklch(61.12% 0.095 251.4)
XYZxyz(21.5609, 22.9403, 50.2958)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787BB #BB8B57
analogous
#57B9BB #5787BB #5957BB
triadic
#5787BB #BB5787 #87BB57
tetradic
#5787BB #BB57B9 #BB8B57 #57BB59
square
#5787BB #BB57B9 #BB8B57 #57BB59
split-complementary
#5787BB #BB5957 #B9BB57
monochromatic
#2C4B6C #3D6997 #5787BB #83A6CD #AEC5DE

Accessibility & contrast

On white

3.76
#5787BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5787BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787BB#FFFFFF#000000##000000
##5787BB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BD
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#1D9399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5787bb;
/* rgb */ color: rgb(87, 135, 187);
/* oklch */ color: oklch(61.1% 0.095 251.4);
Tailwind
colors: {
  custom: {
    50: '#8da9cf',
    500: '#5787bb',
    950: '#000000',
  },
}
SCSS
$custom: #5787bb;
$custom-light: #8da9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5787bb",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 211.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.0952,
    "h": 251.4
  },
  "luminance": 0.22942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5787BB

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

Preview Lab → · Contrast checker → · Palette generator →

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