#5A80FF#5A80FF

#5A80FF is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.8% C 0.193 H 268.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5A80FF
RGBrgb(90, 128, 255)
HSLhsl(226, 100%, 68%)
HSVhsv(226, 65%, 100%)
CMYKcmyk(64.7%, 49.8%, 0%, 0%)
CIE-LABlab(56.91, 26.09, -67.27)
CIE-LCHlch(56.91, 72.15, 291.20°)
OKLaboklab(63.81% -0.0066 -0.1929)
OKLCHoklch(63.81% 0.193 268)
XYZxyz(29.9794, 24.8292, 97.8010)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80FF #FFD95A
analogous
#5AD2FF #5A80FF #875AFF
triadic
#5A80FF #FF5A80 #80FF5A
tetradic
#5A80FF #FF5AD2 #FFD95A #5AFF87
square
#5A80FF #FF5AD2 #FFD95A #5AFF87
split-complementary
#5A80FF #FF875A #D2FF5A
monochromatic
#0033DF #1D51FF #5A80FF #97AFFF #D4DEFF

Accessibility & contrast

On white

3.52
#5A80FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5A80FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80FF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80FF#FFFFFF#000000##000000
##5A80FF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#0081FC
Tritanopia (blue-blind)
#009EB4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a80ff;
/* rgb */ color: rgb(90, 128, 255);
/* oklch */ color: oklch(63.8% 0.193 268.0);
Tailwind
colors: {
  custom: {
    50: '#98a4ff',
    500: '#5a80ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a80ff;
$custom-light: #98a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80ff",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 255
  },
  "hsl": {
    "h": 226.182,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63806,
    "c": 0.19304,
    "h": 268
  },
  "luminance": 0.24832
}

Semantic roles & 50–950 ramp

primary
#5A80FF
secondary
#F4E8C1
accent
#B100E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A80FF

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

Preview Lab → · Contrast checker → · Palette generator →

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