#5B87CD#5B87CD

#5B87CD is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.3% C 0.117 H 259.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B87CD
RGBrgb(91, 135, 205)
HSLhsl(217, 53%, 58%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(55.6%, 34.1%, 0%, 19.6%)
CIE-LABlab(56.05, 5.46, -40.75)
CIE-LCHlch(56.05, 41.12, 277.63°)
OKLaboklab(62.26% -0.0216 -0.1151)
OKLCHoklch(62.26% 0.117 259.3)
XYZxyz(23.9940, 23.9579, 61.1057)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87CD #CDA15B
analogous
#5BC0CD #5B87CD #685BCD
triadic
#5B87CD #CD5B87 #87CD5B
tetradic
#5B87CD #CD5BC0 #CDA15B #5BCD68
square
#5B87CD #CD5BC0 #CDA15B #5BCD68
split-complementary
#5B87CD #CD685B #C0CD5B
monochromatic
#294C85 #3767B4 #5B87CD #8AA9DB #B9CCEA

Accessibility & contrast

On white

3.63
#5B87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5B87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87CD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87CD#FFFFFF#000000##000000
##5B87CD1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CD0
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#0C97A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b87cd;
/* rgb */ color: rgb(91, 135, 205);
/* oklch */ color: oklch(62.3% 0.117 259.3);
Tailwind
colors: {
  custom: {
    50: '#91a9dc',
    500: '#5b87cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b87cd;
$custom-light: #91a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87cd",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 216.842,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62255,
    "c": 0.1171,
    "h": 259.3
  },
  "luminance": 0.2396
}

Semantic roles & 50–950 ramp

primary
#5B87CD
secondary
#D9C7AB
accent
#A44BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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