#5B86F4#5B86F4

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

Color values

HEX#5B86F4
RGBrgb(91, 134, 244)
HSLhsl(223, 87%, 66%)
HSVhsv(223, 63%, 96%)
CMYKcmyk(62.7%, 45.1%, 0%, 4.3%)
CIE-LABlab(57.85, 18.92, -59.68)
CIE-LCHlch(57.85, 62.61, 287.59°)
OKLaboklab(64.32% -0.0127 -0.1705)
OKLCHoklch(64.32% 0.171 265.8)
XYZxyz(29.1630, 25.8034, 89.0141)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B86F4 #F4C95B
analogous
#5BD3F4 #5B86F4 #7C5BF4
triadic
#5B86F4 #F45B86 #86F45B
tetradic
#5B86F4 #F45BD3 #F4C95B #5BF47C
square
#5B86F4 #F45BD3 #F4C95B #5BF47C
split-complementary
#5B86F4 #F47C5B #D3F45B
monochromatic
#0D42C7 #225CF0 #5B86F4 #94B0F8 #CEDBFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B86F4#FFFFFF#000000##000000
##5B86F41.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)
#5192F8
Deuteranopia (green-blind)
#3684F2
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b86f4;
/* rgb */ color: rgb(91, 134, 244);
/* oklch */ color: oklch(64.3% 0.171 265.8);
Tailwind
colors: {
  custom: {
    50: '#97a8f8',
    500: '#5b86f4',
    950: '#000000',
  },
}
SCSS
$custom: #5b86f4;
$custom-light: #97a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b86f4",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 244
  },
  "hsl": {
    "h": 223.137,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.171,
    "h": 265.8
  },
  "luminance": 0.25806
}

Semantic roles & 50–950 ramp

primary
#5B86F4
secondary
#EFE1BC
accent
#A402E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B86F4

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

Preview Lab → · Contrast checker → · Palette generator →

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