#5B86F2#5B86F2

#5B86F2 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.2% C 0.168 H 265.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5B86F2
RGBrgb(91, 134, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 62%, 95%)
CMYKcmyk(62.4%, 44.6%, 0%, 5.1%)
CIE-LABlab(57.73, 18.25, -58.76)
CIE-LCHlch(57.73, 61.53, 287.25°)
OKLaboklab(64.2% -0.013 -0.1678)
OKLCHoklch(64.2% 0.168 265.6)
XYZxyz(28.8610, 25.6825, 87.4235)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B86F2 #F2C75B
analogous
#5BD1F2 #5B86F2 #7B5BF2
triadic
#5B86F2 #F25B86 #86F25B
tetradic
#5B86F2 #F25BD1 #F2C75B #5BF27B
square
#5B86F2 #F25BD1 #F2C75B #5BF27B
split-complementary
#5B86F2 #F27B5B #D1F25B
monochromatic
#0F43C3 #225CEE #5B86F2 #94B0F6 #CCDAFB

Accessibility & contrast

On white

3.42
#5B86F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5B86F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B86F2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B86F2#FFFFFF#000000##000000
##5B86F21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b86f2;
/* rgb */ color: rgb(91, 134, 242);
/* oklch */ color: oklch(64.2% 0.168 265.6);
Tailwind
colors: {
  custom: {
    50: '#96a8f7',
    500: '#5b86f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b86f2;
$custom-light: #96a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b86f2",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 222.914,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64198,
    "c": 0.16832,
    "h": 265.6
  },
  "luminance": 0.25685
}

Semantic roles & 50–950 ramp

primary
#5B86F2
secondary
#EEDFBB
accent
#A304E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B86F2

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

Preview Lab → · Contrast checker → · Palette generator →

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