#5A80F5#5A80F5

#5A80F5 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.1% C 0.180 H 267.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5A80F5
RGBrgb(90, 128, 245)
HSLhsl(225, 89%, 66%)
HSVhsv(225, 63%, 96%)
CMYKcmyk(63.3%, 47.8%, 0%, 3.9%)
CIE-LABlab(56.29, 22.72, -62.74)
CIE-LCHlch(56.29, 66.73, 289.91°)
OKLaboklab(63.14% -0.0077 -0.1796)
OKLCHoklch(63.14% 0.18 267.5)
XYZxyz(28.4114, 24.2020, 89.5427)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80F5 #F5CF5A
analogous
#5ACEF5 #5A80F5 #815AF5
triadic
#5A80F5 #F55A80 #80F55A
tetradic
#5A80F5 #F55ACE #F5CF5A #5AF581
square
#5A80F5 #F55ACE #F5CF5A #5AF581
split-complementary
#5A80F5 #F5815A #CEF55A
monochromatic
#0C3AC8 #2054F2 #5A80F5 #94ACF8 #CDD9FC

Accessibility & contrast

On white

3.60
#5A80F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5A80F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80F5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80F5#FFFFFF#000000##000000
##5A80F51.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF9
Deuteranopia (green-blind)
#2180F3
Tritanopia (blue-blind)
#009BAF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a80f5;
/* rgb */ color: rgb(90, 128, 245);
/* oklch */ color: oklch(63.1% 0.180 267.5);
Tailwind
colors: {
  custom: {
    50: '#97a4f9',
    500: '#5a80f5',
    950: '#000000',
  },
}
SCSS
$custom: #5a80f5;
$custom-light: #97a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80f5",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 245
  },
  "hsl": {
    "h": 225.29,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.17979,
    "h": 267.5
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#5A80F5
secondary
#EFE3BC
accent
#AD00E5
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5A80F5

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

Preview Lab → · Contrast checker → · Palette generator →

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