#5B87CA#5B87CA

#5B87CA is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.1% C 0.113 H 258.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5B87CA
RGBrgb(91, 135, 202)
HSLhsl(216, 51%, 57%)
HSVhsv(216, 55%, 79%)
CMYKcmyk(55%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.90, 4.50, -39.28)
CIE-LCHlch(55.90, 39.54, 276.53°)
OKLaboklab(62.1% -0.0224 -0.1108)
OKLCHoklch(62.1% 0.113 258.6)
XYZxyz(23.6353, 23.8145, 59.2168)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87CA #CA9E5B
analogous
#5BBFCA #5B87CA #665BCA
triadic
#5B87CA #CA5B87 #87CA5B
tetradic
#5B87CA #CA5BBF #CA9E5B #5BCA66
square
#5B87CA #CA5BBF #CA9E5B #5BCA66
split-complementary
#5B87CA #CA665B #BFCA5B
monochromatic
#2A4C81 #3968AF #5B87CA #89A9D9 #B8CBE8

Accessibility & contrast

On white

3.64
#5B87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5B87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87CA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87CA#FFFFFF#000000##000000
##5B87CA1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#14969F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b87ca;
/* rgb */ color: rgb(91, 135, 202);
/* oklch */ color: oklch(62.1% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#91a9da',
    500: '#5b87ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b87ca;
$custom-light: #91a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87ca",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 216.216,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.11306,
    "h": 258.6
  },
  "luminance": 0.23816
}

Semantic roles & 50–950 ramp

primary
#5B87CA
secondary
#D7C5AA
accent
#A34DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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