#5B86F5#5B86F5

#5B86F5 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.172 H 265.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B86F5
RGBrgb(91, 134, 245)
HSLhsl(223, 89%, 66%)
HSVhsv(223, 63%, 96%)
CMYKcmyk(62.9%, 45.3%, 0%, 3.9%)
CIE-LABlab(57.91, 19.25, -60.14)
CIE-LCHlch(57.91, 63.15, 287.75°)
OKLaboklab(64.39% -0.0125 -0.1719)
OKLCHoklch(64.39% 0.172 265.8)
XYZxyz(29.3152, 25.8643, 89.8159)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B86F5 #F5CA5B
analogous
#5BD3F5 #5B86F5 #7D5BF5
triadic
#5B86F5 #F55B86 #86F55B
tetradic
#5B86F5 #F55BD3 #F5CA5B #5BF57D
square
#5B86F5 #F55BD3 #F5CA5B #5BF57D
split-complementary
#5B86F5 #F57D5B #D3F55B
monochromatic
#0C41C9 #215BF1 #5B86F5 #95B1F9 #CEDBFC

Accessibility & contrast

On white

3.40
#5B86F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5B86F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B86F5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B86F5#FFFFFF#000000##000000
##5B86F51.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b86f5;
/* rgb */ color: rgb(91, 134, 245);
/* oklch */ color: oklch(64.4% 0.172 265.8);
Tailwind
colors: {
  custom: {
    50: '#97a8f9',
    500: '#5b86f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b86f5;
$custom-light: #97a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b86f5",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 245
  },
  "hsl": {
    "h": 223.247,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64387,
    "c": 0.17234,
    "h": 265.8
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#5B86F5
secondary
#EFE1BC
accent
#A500E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B86F5

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

Preview Lab → · Contrast checker → · Palette generator →

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