#5B87BB#5B87BB

#5B87BB is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.093 H 253.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B87BB
RGBrgb(91, 135, 187)
HSLhsl(213, 41%, 55%)
HSVhsv(213, 51%, 73%)
CMYKcmyk(51.3%, 27.8%, 0%, 26.7%)
CIE-LABlab(55.21, -0.22, -31.84)
CIE-LCHlch(55.21, 31.84, 269.60°)
OKLaboklab(61.33% -0.0267 -0.0892)
OKLCHoklch(61.33% 0.093 253.3)
XYZxyz(21.9449, 23.1383, 50.3138)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87BB #BB8F5B
analogous
#5BB7BB #5B87BB #5F5BBB
triadic
#5B87BB #BB5B87 #87BB5B
tetradic
#5B87BB #BB5BB7 #BB8F5B #5BBB5F
square
#5B87BB #BB5BB7 #BB8F5B #5BBB5F
split-complementary
#5B87BB #BB5F5B #B7BB5B
monochromatic
#2E4B6E #406999 #5B87BB #86A7CD #B2C6DF

Accessibility & contrast

On white

3.73
#5B87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5B87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87BB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87BB#FFFFFF#000000##000000
##5B87BB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b87bb;
/* rgb */ color: rgb(91, 135, 187);
/* oklch */ color: oklch(61.3% 0.093 253.3);
Tailwind
colors: {
  custom: {
    50: '#8fa9cf',
    500: '#5b87bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b87bb;
$custom-light: #8fa9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87bb",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 212.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.09315,
    "h": 253.3
  },
  "luminance": 0.2314
}

Semantic roles & 50–950 ramp

primary
#5B87BB
secondary
#CDBBA5
accent
#9957D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5B87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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