#5A80FB#5A80FB

#5A80FB is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.188 H 267.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A80FB
RGBrgb(90, 128, 251)
HSLhsl(226, 95%, 67%)
HSVhsv(226, 64%, 98%)
CMYKcmyk(64.1%, 49%, 0%, 1.6%)
CIE-LABlab(56.66, 24.74, -65.46)
CIE-LCHlch(56.66, 69.98, 290.71°)
OKLaboklab(63.54% -0.0071 -0.1876)
OKLCHoklch(63.54% 0.188 267.8)
XYZxyz(29.3422, 24.5743, 94.4451)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80FB #FBD55A
analogous
#5AD0FB #5A80FB #855AFB
triadic
#5A80FB #FB5A80 #80FB5A
tetradic
#5A80FB #FB5AD0 #FBD55A #5AFB85
square
#5A80FB #FB5AD0 #FBD55A #5AFB85
split-complementary
#5A80FB #FB855A #D0FB5A
monochromatic
#0536D5 #1E52FA #5A80FB #96AEFC #D2DCFE

Accessibility & contrast

On white

3.55
#5A80FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5A80FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80FB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80FB#FFFFFF#000000##000000
##5A80FB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#0B81F8
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a80fb;
/* rgb */ color: rgb(90, 128, 251);
/* oklch */ color: oklch(63.5% 0.188 267.8);
Tailwind
colors: {
  custom: {
    50: '#98a4fd',
    500: '#5a80fb',
    950: '#000000',
  },
}
SCSS
$custom: #5a80fb;
$custom-light: #98a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80fb",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 225.839,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63536,
    "c": 0.18776,
    "h": 267.8
  },
  "luminance": 0.24577
}

Semantic roles & 50–950 ramp

primary
#5A80FB
secondary
#F2E6BF
accent
#AF00E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A80FB

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

Preview Lab → · Contrast checker → · Palette generator →

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