#5B87BF#5B87BF

#5B87BF is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.098 H 255.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B87BF
RGBrgb(91, 135, 191)
HSLhsl(214, 44%, 55%)
HSVhsv(214, 52%, 75%)
CMYKcmyk(52.4%, 29.3%, 0%, 25.1%)
CIE-LABlab(55.39, 1.02, -33.84)
CIE-LCHlch(55.39, 33.86, 271.73°)
OKLaboklab(61.53% -0.0255 -0.095)
OKLCHoklch(61.53% 0.098 255)
XYZxyz(22.3791, 23.3120, 52.6005)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87BF #BF935B
analogous
#5BB9BF #5B87BF #615BBF
triadic
#5B87BF #BF5B87 #87BF5B
tetradic
#5B87BF #BF5BB9 #BF935B #5BBF61
square
#5B87BF #BF5BB9 #BF935B #5BBF61
split-complementary
#5B87BF #BF615B #B9BF5B
monochromatic
#2D4C73 #3E699F #5B87BF #87A7D0 #B3C7E1

Accessibility & contrast

On white

3.71
#5B87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5B87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87BF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87BF#FFFFFF#000000##000000
##5B87BF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#26949B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b87bf;
/* rgb */ color: rgb(91, 135, 191);
/* oklch */ color: oklch(61.5% 0.098 255.0);
Tailwind
colors: {
  custom: {
    50: '#90a9d2',
    500: '#5b87bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b87bf;
$custom-light: #90a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87bf",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 213.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.09839,
    "h": 255
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#5B87BF
secondary
#D0BDA6
accent
#9C54D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5B87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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