#5B86FC#5B86FC

#5B86FC is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.182 H 266.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5B86FC
RGBrgb(91, 134, 252)
HSLhsl(224, 96%, 67%)
HSVhsv(224, 64%, 99%)
CMYKcmyk(63.9%, 46.8%, 0%, 1.2%)
CIE-LABlab(58.32, 21.61, -63.34)
CIE-LCHlch(58.32, 66.92, 288.84°)
OKLaboklab(64.83% -0.0115 -0.1813)
OKLCHoklch(64.83% 0.182 266.4)
XYZxyz(30.4041, 26.2998, 95.5507)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B86FC #FCD15B
analogous
#5BD7FC #5B86FC #815BFC
triadic
#5B86FC #FC5B86 #86FC5B
tetradic
#5B86FC #FC5BD7 #FCD15B #5BFC81
square
#5B86FC #FC5BD7 #FCD15B #5BFC81
split-complementary
#5B86FC #FC815B #D7FC5B
monochromatic
#043DD9 #1F5AFB #5B86FC #97B2FD #D3DFFE

Accessibility & contrast

On white

3.35
#5B86FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5B86FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B86FC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B86FC#FFFFFF#000000##000000
##5B86FC1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#2885FA
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b86fc;
/* rgb */ color: rgb(91, 134, 252);
/* oklch */ color: oklch(64.8% 0.182 266.4);
Tailwind
colors: {
  custom: {
    50: '#98a8fe',
    500: '#5b86fc',
    950: '#000000',
  },
}
SCSS
$custom: #5b86fc;
$custom-light: #98a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5b86fc",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 223.975,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64835,
    "c": 0.18165,
    "h": 266.4
  },
  "luminance": 0.26303
}

Semantic roles & 50–950 ramp

primary
#5B86FC
secondary
#F3E5C0
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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