#5B80F8#5B80F8

#5B80F8 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.183 H 268.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5B80F8
RGBrgb(91, 128, 248)
HSLhsl(226, 92%, 66%)
HSVhsv(226, 63%, 97%)
CMYKcmyk(63.3%, 48.4%, 0%, 2.7%)
CIE-LABlab(56.52, 23.90, -64.02)
CIE-LCHlch(56.52, 68.34, 290.47°)
OKLaboklab(63.39% -0.0065 -0.1834)
OKLCHoklch(63.39% 0.183 268)
XYZxyz(28.9710, 24.4372, 91.9788)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B80F8 #F8D35B
analogous
#5BCFF8 #5B80F8 #855BF8
triadic
#5B80F8 #F85B80 #80F85B
tetradic
#5B80F8 #F85BCF #F8D35B #5BF885
square
#5B80F8 #F85BCF #F8D35B #5BF885
split-complementary
#5B80F8 #F8855B #CFF85B
monochromatic
#0938D0 #2053F5 #5B80F8 #96ADFB #D0DBFD

Accessibility & contrast

On white

3.57
#5B80F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5B80F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B80F8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B80F8#FFFFFF#000000##000000
##5B80F81.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#1A81F6
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b80f8;
/* rgb */ color: rgb(91, 128, 248);
/* oklch */ color: oklch(63.4% 0.183 268.0);
Tailwind
colors: {
  custom: {
    50: '#98a4fb',
    500: '#5b80f8',
    950: '#000000',
  },
}
SCSS
$custom: #5b80f8;
$custom-light: #98a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b80f8",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 225.86,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63387,
    "c": 0.18348,
    "h": 268
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#5B80F8
secondary
#F1E5BE
accent
#AF00E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B80F8

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

Preview Lab → · Contrast checker → · Palette generator →

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