#5B87CB#5B87CB

#5B87CB is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.1% C 0.114 H 258.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5B87CB
RGBrgb(91, 135, 203)
HSLhsl(216, 52%, 58%)
HSVhsv(216, 55%, 80%)
CMYKcmyk(55.2%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.95, 4.82, -39.77)
CIE-LCHlch(55.95, 40.07, 276.91°)
OKLaboklab(62.15% -0.0222 -0.1122)
OKLCHoklch(62.15% 0.114 258.8)
XYZxyz(23.7541, 23.8620, 59.8424)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87CB #CB9F5B
analogous
#5BBFCB #5B87CB #675BCB
triadic
#5B87CB #CB5B87 #87CB5B
tetradic
#5B87CB #CB5BBF #CB9F5B #5BCB67
square
#5B87CB #CB5BBF #CB9F5B #5BCB67
split-complementary
#5B87CB #CB675B #BFCB5B
monochromatic
#294C82 #3867B1 #5B87CB #89A9DA #B8CBE8

Accessibility & contrast

On white

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

On black

5.77
#5B87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87CB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87CB#FFFFFF#000000##000000
##5B87CB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#5E81CA
Tritanopia (blue-blind)
#1296A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b87cb;
/* rgb */ color: rgb(91, 135, 203);
/* oklch */ color: oklch(62.1% 0.114 258.8);
Tailwind
colors: {
  custom: {
    50: '#91a9db',
    500: '#5b87cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b87cb;
$custom-light: #91a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87cb",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 216.429,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62148,
    "c": 0.1144,
    "h": 258.8
  },
  "luminance": 0.23864
}

Semantic roles & 50–950 ramp

primary
#5B87CB
secondary
#D7C6AA
accent
#A34CDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5B87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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