#5B87F3#5B87F3

#5B87F3 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.168 H 265.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5B87F3
RGBrgb(91, 135, 243)
HSLhsl(223, 86%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(62.6%, 44.4%, 0%, 4.7%)
CIE-LABlab(58.06, 17.98, -58.80)
CIE-LCHlch(58.06, 61.49, 287.00°)
OKLaboklab(64.46% -0.0138 -0.1679)
OKLCHoklch(64.46% 0.168 265.3)
XYZxyz(29.1504, 26.0205, 88.2629)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B87F3 #F3C75B
analogous
#5BD3F3 #5B87F3 #7B5BF3
triadic
#5B87F3 #F35B87 #87F35B
tetradic
#5B87F3 #F35BD3 #F3C75B #5BF37B
square
#5B87F3 #F35BD3 #F3C75B #5BF37B
split-complementary
#5B87F3 #F37B5B #D3F35B
monochromatic
#0E43C5 #225DEF #5B87F3 #94B1F7 #CDDAFB

Accessibility & contrast

On white

3.38
#5B87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5B87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B87F3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B87F3#FFFFFF#000000##000000
##5B87F31.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#3A85F1
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b87f3;
/* rgb */ color: rgb(91, 135, 243);
/* oklch */ color: oklch(64.5% 0.168 265.3);
Tailwind
colors: {
  custom: {
    50: '#97a9f8',
    500: '#5b87f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b87f3;
$custom-light: #97a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b87f3",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 222.632,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64463,
    "c": 0.16849,
    "h": 265.3
  },
  "luminance": 0.26023
}

Semantic roles & 50–950 ramp

primary
#5B87F3
secondary
#EEE0BB
accent
#A203E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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