#5B87EA#5B87EA

#5B87EA is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.156 H 264.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5B87EA
RGBrgb(91, 135, 234)
HSLhsl(222, 77%, 64%)
HSVhsv(222, 61%, 92%)
CMYKcmyk(61.1%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.55, 14.97, -54.62)
CIE-LCHlch(57.55, 56.63, 285.33°)
OKLaboklab(63.91% -0.0153 -0.1556)
OKLCHoklch(63.91% 0.156 264.4)
XYZxyz(27.8245, 25.4902, 81.2797)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87EA #EABE5B
analogous
#5BCFEA #5B87EA #765BEA
triadic
#5B87EA #EA5B87 #87EA5B
tetradic
#5B87EA #EA5BCF #EABE5B #5BEA76
square
#5B87EA #EA5BCF #EABE5B #5BEA76
split-complementary
#5B87EA #EA765B #CFEA5B
monochromatic
#1747B4 #255FE3 #5B87EA #91AFF1 #C8D6F8

Accessibility & contrast

On white

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

On black

6.10
#5B87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87EA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87EA#FFFFFF#000000##000000
##5B87EA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b87ea;
/* rgb */ color: rgb(91, 135, 234);
/* oklch */ color: oklch(63.9% 0.156 264.4);
Tailwind
colors: {
  custom: {
    50: '#95a9f1',
    500: '#5b87ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b87ea;
$custom-light: #95a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87ea",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 221.538,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.15639,
    "h": 264.4
  },
  "luminance": 0.25493
}

Semantic roles & 50–950 ramp

primary
#5B87EA
secondary
#EADAB7
accent
#9A0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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