#5A86FB#5A86FB

#5A86FB is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.181 H 266.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5A86FB
RGBrgb(90, 134, 251)
HSLhsl(224, 95%, 67%)
HSVhsv(224, 64%, 98%)
CMYKcmyk(64.1%, 46.6%, 0%, 1.6%)
CIE-LABlab(58.21, 21.11, -62.96)
CIE-LCHlch(58.21, 66.41, 288.53°)
OKLaboklab(64.72% -0.0125 -0.1802)
OKLCHoklch(64.72% 0.181 266)
XYZxyz(30.1481, 26.1861, 94.7137)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86FB #FBCF5A
analogous
#5AD7FB #5A86FB #7E5AFB
triadic
#5A86FB #FB5A86 #86FB5A
tetradic
#5A86FB #FB5AD7 #FBCF5A #5AFB7E
square
#5A86FB #FB5AD7 #FBCF5A #5AFB7E
split-complementary
#5A86FB #FB7E5A #D7FB5A
monochromatic
#053ED5 #1E5AFA #5A86FB #96B2FC #D2DEFE

Accessibility & contrast

On white

3.37
#5A86FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5A86FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86FB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86FB#FFFFFF#000000##000000
##5A86FB1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#2A85F9
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a86fb;
/* rgb */ color: rgb(90, 134, 251);
/* oklch */ color: oklch(64.7% 0.181 266.0);
Tailwind
colors: {
  custom: {
    50: '#97a8fd',
    500: '#5a86fb',
    950: '#000000',
  },
}
SCSS
$custom: #5a86fb;
$custom-light: #97a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86fb",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 223.602,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.18064,
    "h": 266
  },
  "luminance": 0.26189
}

Semantic roles & 50–950 ramp

primary
#5A86FB
secondary
#F2E4BF
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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