#5A80F2#5A80F2

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

Color values

HEX#5A80F2
RGBrgb(90, 128, 242)
HSLhsl(225, 85%, 65%)
HSVhsv(225, 63%, 95%)
CMYKcmyk(62.8%, 47.1%, 0%, 5.1%)
CIE-LABlab(56.11, 21.71, -61.37)
CIE-LCHlch(56.11, 65.10, 289.48°)
OKLaboklab(62.94% -0.0081 -0.1756)
OKLCHoklch(62.94% 0.176 267.3)
XYZxyz(27.9571, 24.0203, 87.1503)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80F2 #F2CC5A
analogous
#5ACCF2 #5A80F2 #805AF2
triadic
#5A80F2 #F25A80 #80F25A
tetradic
#5A80F2 #F25ACC #F2CC5A #5AF280
square
#5A80F2 #F25ACC #F2CC5A #5AF280
split-complementary
#5A80F2 #F2805A #CCF25A
monochromatic
#0F3CC2 #2154EE #5A80F2 #93ACF6 #CBD7FB

Accessibility & contrast

On white

3.62
#5A80F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5A80F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80F2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80F2#FFFFFF#000000##000000
##5A80F21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#2880F0
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a80f2;
/* rgb */ color: rgb(90, 128, 242);
/* oklch */ color: oklch(62.9% 0.176 267.3);
Tailwind
colors: {
  custom: {
    50: '#96a4f7',
    500: '#5a80f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a80f2;
$custom-light: #96a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80f2",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 225,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.17578,
    "h": 267.3
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#5A80F2
secondary
#EEE1BA
accent
#AA04E2
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A80F2

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

Preview Lab → · Contrast checker → · Palette generator →

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