#5B87CE#5B87CE

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

Color values

HEX#5B87CE
RGBrgb(91, 135, 206)
HSLhsl(217, 54%, 58%)
HSVhsv(217, 56%, 81%)
CMYKcmyk(55.8%, 34.5%, 0%, 19.2%)
CIE-LABlab(56.09, 5.78, -41.24)
CIE-LCHlch(56.09, 41.64, 277.98°)
OKLaboklab(62.31% -0.0214 -0.1165)
OKLCHoklch(62.31% 0.118 259.6)
XYZxyz(24.1151, 24.0064, 61.7435)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87CE #CEA25B
analogous
#5BC1CE #5B87CE #685BCE
triadic
#5B87CE #CE5B87 #87CE5B
tetradic
#5B87CE #CE5BC1 #CEA25B #5BCE68
square
#5B87CE #CE5BC1 #CEA25B #5BCE68
split-complementary
#5B87CE #CE685B #C1CE5B
monochromatic
#284C86 #3667B6 #5B87CE #8AA9DC #B9CCEA

Accessibility & contrast

On white

3.62
#5B87CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5B87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87CE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87CE#FFFFFF#000000##000000
##5B87CE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD1
Deuteranopia (green-blind)
#5C82CD
Tritanopia (blue-blind)
#0897A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b87ce;
/* rgb */ color: rgb(91, 135, 206);
/* oklch */ color: oklch(62.3% 0.118 259.6);
Tailwind
colors: {
  custom: {
    50: '#91a9dd',
    500: '#5b87ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b87ce;
$custom-light: #91a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87ce",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 217.043,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.11845,
    "h": 259.6
  },
  "luminance": 0.24008
}

Semantic roles & 50–950 ramp

primary
#5B87CE
secondary
#D9C8AB
accent
#A54ADD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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