#5B87FD#5B87FD

#5B87FD is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.1% C 0.182 H 266.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5B87FD
RGBrgb(91, 135, 253)
HSLhsl(224, 98%, 67%)
HSVhsv(224, 64%, 99%)
CMYKcmyk(64%, 46.6%, 0%, 0.8%)
CIE-LABlab(58.64, 21.34, -63.38)
CIE-LCHlch(58.64, 66.87, 288.61°)
OKLaboklab(65.1% -0.0123 -0.1814)
OKLCHoklch(65.1% 0.182 266.1)
XYZxyz(30.7019, 26.6411, 96.4337)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87FD #FDD15B
analogous
#5BD8FD #5B87FD #805BFD
triadic
#5B87FD #FD5B87 #87FD5B
tetradic
#5B87FD #FD5BD8 #FDD15B #5BFD80
square
#5B87FD #FD5BD8 #FDD15B #5BFD80
split-complementary
#5B87FD #FD805B #D8FD5B
monochromatic
#033DDB #1F5BFC #5B87FD #97B3FE #D4DFFE

Accessibility & contrast

On white

3.32
#5B87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5B87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87FD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87FD#FFFFFF#000000##000000
##5B87FD1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#2A86FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b87fd;
/* rgb */ color: rgb(91, 135, 253);
/* oklch */ color: oklch(65.1% 0.182 266.1);
Tailwind
colors: {
  custom: {
    50: '#98a9ff',
    500: '#5b87fd',
    950: '#000000',
  },
}
SCSS
$custom: #5b87fd;
$custom-light: #98a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87fd",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 223.704,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.1818,
    "h": 266.1
  },
  "luminance": 0.26644
}

Semantic roles & 50–950 ramp

primary
#5B87FD
secondary
#F3E5C1
accent
#A700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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