#5B87F0#5B87F0

#5B87F0 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.3% C 0.164 H 265.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B87F0
RGBrgb(91, 135, 240)
HSLhsl(222, 83%, 65%)
HSVhsv(222, 62%, 94%)
CMYKcmyk(62.1%, 43.8%, 0%, 5.9%)
CIE-LABlab(57.89, 16.97, -57.41)
CIE-LCHlch(57.89, 59.87, 286.47°)
OKLaboklab(64.28% -0.0143 -0.1638)
OKLCHoklch(64.28% 0.164 265)
XYZxyz(28.7011, 25.8408, 85.8964)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87F0 #F0C45B
analogous
#5BD1F0 #5B87F0 #7A5BF0
triadic
#5B87F0 #F05B87 #87F05B
tetradic
#5B87F0 #F05BD1 #F0C45B #5BF07A
square
#5B87F0 #F05BD1 #F0C45B #5BF07A
split-complementary
#5B87F0 #F07A5B #D1F05B
monochromatic
#1145BF #235EEB #5B87F0 #93B0F5 #CBD9FA

Accessibility & contrast

On white

3.40
#5B87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5B87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87F0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87F0#FFFFFF#000000##000000
##5B87F01.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F4
Deuteranopia (green-blind)
#3E85EE
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b87f0;
/* rgb */ color: rgb(91, 135, 240);
/* oklch */ color: oklch(64.3% 0.164 265.0);
Tailwind
colors: {
  custom: {
    50: '#96a9f5',
    500: '#5b87f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b87f0;
$custom-light: #96a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87f0",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 222.282,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64277,
    "c": 0.16446,
    "h": 265
  },
  "luminance": 0.25843
}

Semantic roles & 50–950 ramp

primary
#5B87F0
secondary
#EDDEBA
accent
#9F06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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