#5C87BB#5C87BB

#5C87BB is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.093 H 253.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5C87BB
RGBrgb(92, 135, 187)
HSLhsl(213, 41%, 55%)
HSVhsv(213, 51%, 73%)
CMYKcmyk(50.8%, 27.8%, 0%, 26.7%)
CIE-LABlab(55.27, 0.02, -31.75)
CIE-LCHlch(55.27, 31.75, 270.03°)
OKLaboklab(61.39% -0.0258 -0.089)
OKLCHoklch(61.39% 0.093 253.8)
XYZxyz(22.0442, 23.1895, 50.3185)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87BB #BB905C
analogous
#5CB7BB #5C87BB #605CBB
triadic
#5C87BB #BB5C87 #87BB5C
tetradic
#5C87BB #BB5CB7 #BB905C #5CBB60
square
#5C87BB #BB5CB7 #BB905C #5CBB60
split-complementary
#5C87BB #BB605C #B7BB5C
monochromatic
#2E4B6F #40699A #5C87BB #87A7CD #B2C7DF

Accessibility & contrast

On white

3.72
#5C87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5C87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87BB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87BB#FFFFFF#000000##000000
##5C87BB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BD
Deuteranopia (green-blind)
#6780BA
Tritanopia (blue-blind)
#2E9399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c87bb;
/* rgb */ color: rgb(92, 135, 187);
/* oklch */ color: oklch(61.4% 0.093 253.8);
Tailwind
colors: {
  custom: {
    50: '#90a9cf',
    500: '#5c87bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c87bb;
$custom-light: #90a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87bb",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 212.842,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.09264,
    "h": 253.8
  },
  "luminance": 0.23191
}

Semantic roles & 50–950 ramp

primary
#5C87BB
secondary
#CDBBA5
accent
#9A57D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5C87BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5C87BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva