#5A86FF#5A86FF

#5A86FF is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.0% C 0.186 H 266.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5A86FF
RGBrgb(90, 134, 255)
HSLhsl(224, 100%, 68%)
HSVhsv(224, 65%, 100%)
CMYKcmyk(64.7%, 47.5%, 0%, 0%)
CIE-LABlab(58.45, 22.46, -64.78)
CIE-LCHlch(58.45, 68.56, 289.12°)
OKLaboklab(64.98% -0.012 -0.1855)
OKLCHoklch(64.98% 0.186 266.3)
XYZxyz(30.7853, 26.4410, 98.0696)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A86FF #FFD35A
analogous
#5AD8FF #5A86FF #805AFF
triadic
#5A86FF #FF5A86 #86FF5A
tetradic
#5A86FF #FF5AD8 #FFD35A #5AFF80
square
#5A86FF #FF5AD8 #FFD35A #5AFF80
split-complementary
#5A86FF #FF805A #D8FF5A
monochromatic
#003BDF #1D59FF #5A86FF #97B3FF #D4E0FF

Accessibility & contrast

On white

3.34
#5A86FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5A86FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A86FF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A86FF#FFFFFF#000000##000000
##5A86FF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4695FF
Deuteranopia (green-blind)
#2085FD
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a86ff;
/* rgb */ color: rgb(90, 134, 255);
/* oklch */ color: oklch(65.0% 0.186 266.3);
Tailwind
colors: {
  custom: {
    50: '#98a8ff',
    500: '#5a86ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a86ff;
$custom-light: #98a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a86ff",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 224,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64981,
    "c": 0.18593,
    "h": 266.3
  },
  "luminance": 0.26444
}

Semantic roles & 50–950 ramp

primary
#5A86FF
secondary
#F4E6C1
accent
#A800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A86FF

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

Preview Lab → · Contrast checker → · Palette generator →

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