#5980E5#5980E5

#5980E5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.1% C 0.159 H 266.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5980E5
RGBrgb(89, 128, 229)
HSLhsl(223, 73%, 62%)
HSVhsv(223, 61%, 90%)
CMYKcmyk(61.1%, 44.1%, 0%, 10.2%)
CIE-LABlab(55.30, 17.17, -55.44)
CIE-LCHlch(55.30, 58.04, 287.21°)
OKLaboklab(62.06% -0.0109 -0.1582)
OKLCHoklch(62.06% 0.159 266)
XYZxyz(25.9770, 23.2171, 77.2259)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980E5 #E5BE59
analogous
#59C6E5 #5980E5 #7859E5
triadic
#5980E5 #E55980 #80E559
tetradic
#5980E5 #E559C6 #E5BE59 #59E578
square
#5980E5 #E559C6 #E5BE59 #59E578
split-complementary
#5980E5 #E57859 #C6E559
monochromatic
#1A42A9 #2458DD #5980E5 #8EA8ED #C3D1F6

Accessibility & contrast

On white

3.72
#5980E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5980E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980E5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980E5#FFFFFF#000000##000000
##5980E51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE9
Deuteranopia (green-blind)
#3B7EE3
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5980e5;
/* rgb */ color: rgb(89, 128, 229);
/* oklch */ color: oklch(62.1% 0.159 266.0);
Tailwind
colors: {
  custom: {
    50: '#94a4ee',
    500: '#5980e5',
    950: '#000000',
  },
}
SCSS
$custom: #5980e5;
$custom-light: #94a4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5980e5",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 229
  },
  "hsl": {
    "h": 223.286,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62059,
    "c": 0.15855,
    "h": 266
  },
  "luminance": 0.23219
}

Semantic roles & 50–950 ramp

primary
#5980E5
secondary
#E6D8B3
accent
#9E10D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5980E5

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

Preview Lab → · Contrast checker → · Palette generator →

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