#5980F5#5980F5

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

Color values

HEX#5980F5
RGBrgb(89, 128, 245)
HSLhsl(225, 89%, 65%)
HSVhsv(225, 64%, 96%)
CMYKcmyk(63.7%, 47.8%, 0%, 3.9%)
CIE-LABlab(56.24, 22.56, -62.82)
CIE-LCHlch(56.24, 66.75, 289.75°)
OKLaboklab(63.09% -0.0087 -0.1799)
OKLCHoklch(63.09% 0.18 267.2)
XYZxyz(28.3148, 24.1522, 89.5382)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980F5 #F5CE59
analogous
#59CEF5 #5980F5 #8059F5
triadic
#5980F5 #F55980 #80F559
tetradic
#5980F5 #F559CE #F5CE59 #59F580
square
#5980F5 #F559CE #F5CE59 #59F580
split-complementary
#5980F5 #F58059 #CEF559
monochromatic
#0C3BC8 #1F54F2 #5980F5 #93ACF8 #CCD8FC

Accessibility & contrast

On white

3.60
#5980F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5980F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980F5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980F5#FFFFFF#000000##000000
##5980F51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5980f5;
/* rgb */ color: rgb(89, 128, 245);
/* oklch */ color: oklch(63.1% 0.180 267.2);
Tailwind
colors: {
  custom: {
    50: '#96a4f9',
    500: '#5980f5',
    950: '#000000',
  },
}
SCSS
$custom: #5980f5;
$custom-light: #96a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5980f5",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 245
  },
  "hsl": {
    "h": 225,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.1801,
    "h": 267.2
  },
  "luminance": 0.24155
}

Semantic roles & 50–950 ramp

primary
#5980F5
secondary
#EFE2BB
accent
#AC00E5
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5980F5

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

Preview Lab → · Contrast checker → · Palette generator →

#5980F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva