#5A80F1#5A80F1

#5A80F1 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.174 H 267.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5A80F1
RGBrgb(90, 128, 241)
HSLhsl(225, 84%, 65%)
HSVhsv(225, 63%, 95%)
CMYKcmyk(62.7%, 46.9%, 0%, 5.5%)
CIE-LABlab(56.05, 21.38, -60.91)
CIE-LCHlch(56.05, 64.55, 289.34°)
OKLaboklab(62.88% -0.0083 -0.1742)
OKLCHoklch(62.88% 0.174 267.3)
XYZxyz(27.8074, 23.9604, 86.3614)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80F1 #F1CB5A
analogous
#5ACBF1 #5A80F1 #805AF1
triadic
#5A80F1 #F15A80 #80F15A
tetradic
#5A80F1 #F15ACB #F1CB5A #5AF180
square
#5A80F1 #F15ACB #F1CB5A #5AF180
split-complementary
#5A80F1 #F1805A #CBF15A
monochromatic
#103DC0 #2255EC #5A80F1 #92ABF6 #CBD7FB

Accessibility & contrast

On white

3.63
#5A80F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5A80F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80F1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80F1#FFFFFF#000000##000000
##5A80F11.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF5
Deuteranopia (green-blind)
#2A80EF
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a80f1;
/* rgb */ color: rgb(90, 128, 241);
/* oklch */ color: oklch(62.9% 0.174 267.3);
Tailwind
colors: {
  custom: {
    50: '#96a4f6',
    500: '#5a80f1',
    950: '#000000',
  },
}
SCSS
$custom: #5a80f1;
$custom-light: #96a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80f1",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 241
  },
  "hsl": {
    "h": 224.901,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.17444,
    "h": 267.3
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#5A80F1
secondary
#EDE0BA
accent
#A905E1
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A80F1

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

Preview Lab → · Contrast checker → · Palette generator →

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