#5B87ED#5B87ED

#5B87ED is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.160 H 264.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5B87ED
RGBrgb(91, 135, 237)
HSLhsl(222, 80%, 64%)
HSVhsv(222, 62%, 93%)
CMYKcmyk(61.6%, 43%, 0%, 7.1%)
CIE-LABlab(57.72, 15.97, -56.02)
CIE-LCHlch(57.72, 58.25, 285.91°)
OKLaboklab(64.09% -0.0148 -0.1597)
OKLCHoklch(64.09% 0.16 264.7)
XYZxyz(28.2591, 25.6640, 83.5688)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87ED #EDC15B
analogous
#5BD0ED #5B87ED #785BED
triadic
#5B87ED #ED5B87 #87ED5B
tetradic
#5B87ED #ED5BD0 #EDC15B #5BED78
square
#5B87ED #ED5BD0 #EDC15B #5BED78
split-complementary
#5B87ED #ED785B #D0ED5B
monochromatic
#1446B9 #245FE7 #5B87ED #92AFF3 #C9D8F9

Accessibility & contrast

On white

3.42
#5B87ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5B87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87ED
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87ED#FFFFFF#000000##000000
##5B87ED1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4284EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b87ed;
/* rgb */ color: rgb(91, 135, 237);
/* oklch */ color: oklch(64.1% 0.160 264.7);
Tailwind
colors: {
  custom: {
    50: '#96a9f3',
    500: '#5b87ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b87ed;
$custom-light: #96a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87ed",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 221.918,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.16043,
    "h": 264.7
  },
  "luminance": 0.25667
}

Semantic roles & 50–950 ramp

primary
#5B87ED
secondary
#EBDCB9
accent
#9D09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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