#5B87EF#5B87EF

#5B87EF is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.163 H 264.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5B87EF
RGBrgb(91, 135, 239)
HSLhsl(222, 82%, 65%)
HSVhsv(222, 62%, 94%)
CMYKcmyk(61.9%, 43.5%, 0%, 6.3%)
CIE-LABlab(57.83, 16.64, -56.95)
CIE-LCHlch(57.83, 59.33, 286.29°)
OKLaboklab(64.22% -0.0144 -0.1625)
OKLCHoklch(64.22% 0.163 264.9)
XYZxyz(28.5530, 25.7815, 85.1162)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87EF #EFC35B
analogous
#5BD1EF #5B87EF #795BEF
triadic
#5B87EF #EF5B87 #87EF5B
tetradic
#5B87EF #EF5BD1 #EFC35B #5BEF79
square
#5B87EF #EF5BD1 #EFC35B #5BEF79
split-complementary
#5B87EF #EF795B #D1EF5B
monochromatic
#1245BD #235EEA #5B87EF #93B0F4 #CBD9FA

Accessibility & contrast

On white

3.41
#5B87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5B87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87EF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87EF#FFFFFF#000000##000000
##5B87EF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#3F85ED
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b87ef;
/* rgb */ color: rgb(91, 135, 239);
/* oklch */ color: oklch(64.2% 0.163 264.9);
Tailwind
colors: {
  custom: {
    50: '#96a9f5',
    500: '#5b87ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b87ef;
$custom-light: #96a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87ef",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 222.162,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64215,
    "c": 0.16312,
    "h": 264.9
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#5B87EF
secondary
#ECDDBA
accent
#9E07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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