#5B87EB#5B87EB

#5B87EB is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.158 H 264.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5B87EB
RGBrgb(91, 135, 235)
HSLhsl(222, 78%, 64%)
HSVhsv(222, 61%, 92%)
CMYKcmyk(61.3%, 42.6%, 0%, 7.8%)
CIE-LABlab(57.61, 15.30, -55.09)
CIE-LCHlch(57.61, 57.17, 285.53°)
OKLaboklab(63.97% -0.0151 -0.157)
OKLCHoklch(63.97% 0.158 264.5)
XYZxyz(27.9686, 25.5478, 82.0385)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87EB #EBBF5B
analogous
#5BCFEB #5B87EB #775BEB
triadic
#5B87EB #EB5B87 #87EB5B
tetradic
#5B87EB #EB5BCF #EBBF5B #5BEB77
square
#5B87EB #EB5BCF #EBBF5B #5BEB77
split-complementary
#5B87EB #EB775B #CFEB5B
monochromatic
#1647B5 #245FE4 #5B87EB #92AFF2 #C8D7F8

Accessibility & contrast

On white

3.44
#5B87EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5B87EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87EB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87EB#FFFFFF#000000##000000
##5B87EB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b87eb;
/* rgb */ color: rgb(91, 135, 235);
/* oklch */ color: oklch(64.0% 0.158 264.5);
Tailwind
colors: {
  custom: {
    50: '#95a9f2',
    500: '#5b87eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b87eb;
$custom-light: #95a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87eb",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 221.667,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6397,
    "c": 0.15774,
    "h": 264.5
  },
  "luminance": 0.2555
}

Semantic roles & 50–950 ramp

primary
#5B87EB
secondary
#EADBB8
accent
#9B0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B87EB

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

Preview Lab → · Contrast checker → · Palette generator →

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