#5B86F8#5B86F8

#5B86F8 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.176 H 266.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5B86F8
RGBrgb(91, 134, 248)
HSLhsl(224, 92%, 66%)
HSVhsv(224, 63%, 97%)
CMYKcmyk(63.3%, 46%, 0%, 2.7%)
CIE-LABlab(58.08, 20.26, -61.52)
CIE-LCHlch(58.08, 64.77, 288.23°)
OKLaboklab(64.58% -0.0121 -0.1759)
OKLCHoklch(64.58% 0.176 266.1)
XYZxyz(29.7769, 26.0489, 92.2475)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B86F8 #F8CD5B
analogous
#5BD5F8 #5B86F8 #7F5BF8
triadic
#5B86F8 #F85B86 #86F85B
tetradic
#5B86F8 #F85BD5 #F8CD5B #5BF87F
square
#5B86F8 #F85BD5 #F8CD5B #5BF87F
split-complementary
#5B86F8 #F87F5B #D5F85B
monochromatic
#093FD0 #205BF5 #5B86F8 #96B1FB #D0DDFD

Accessibility & contrast

On white

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

On black

6.21
#5B86F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B86F8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B86F8#FFFFFF#000000##000000
##5B86F81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#3085F6
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b86f8;
/* rgb */ color: rgb(91, 134, 248);
/* oklch */ color: oklch(64.6% 0.176 266.1);
Tailwind
colors: {
  custom: {
    50: '#97a8fb',
    500: '#5b86f8',
    950: '#000000',
  },
}
SCSS
$custom: #5b86f8;
$custom-light: #97a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b86f8",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 223.567,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.17633,
    "h": 266.1
  },
  "luminance": 0.26052
}

Semantic roles & 50–950 ramp

primary
#5B86F8
secondary
#F1E3BE
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B86F8

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

Preview Lab → · Contrast checker → · Palette generator →

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