#5A86FA#5A86FA

#5A86FA is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.7% C 0.179 H 265.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5A86FA
RGBrgb(90, 134, 250)
HSLhsl(224, 94%, 67%)
HSVhsv(224, 64%, 98%)
CMYKcmyk(64%, 46.4%, 0%, 2%)
CIE-LABlab(58.15, 20.77, -62.51)
CIE-LCHlch(58.15, 65.87, 288.38°)
OKLaboklab(64.66% -0.0127 -0.1789)
OKLCHoklch(64.66% 0.179 265.9)
XYZxyz(29.9909, 26.1232, 93.8857)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86FA #FACE5A
analogous
#5AD6FA #5A86FA #7E5AFA
triadic
#5A86FA #FA5A86 #86FA5A
tetradic
#5A86FA #FA5AD6 #FACE5A #5AFA7E
square
#5A86FA #FA5AD6 #FACE5A #5AFA7E
split-complementary
#5A86FA #FA7E5A #D6FA5A
monochromatic
#063FD3 #1F5AF8 #5A86FA #95B2FC #D1DDFE

Accessibility & contrast

On white

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

On black

6.23
#5A86FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86FA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86FA#FFFFFF#000000##000000
##5A86FA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a86fa;
/* rgb */ color: rgb(90, 134, 250);
/* oklch */ color: oklch(64.7% 0.179 265.9);
Tailwind
colors: {
  custom: {
    50: '#97a8fd',
    500: '#5a86fa',
    950: '#000000',
  },
}
SCSS
$custom: #5a86fa;
$custom-light: #97a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86fa",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 223.5,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.17931,
    "h": 265.9
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

primary
#5A86FA
secondary
#F2E3BE
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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