#5980F1#5980F1

#5980F1 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.8% C 0.175 H 267.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5980F1
RGBrgb(89, 128, 241)
HSLhsl(225, 84%, 65%)
HSVhsv(225, 63%, 95%)
CMYKcmyk(63.1%, 46.9%, 0%, 5.5%)
CIE-LABlab(56.00, 21.21, -60.99)
CIE-LCHlch(56.00, 64.58, 289.17°)
OKLaboklab(62.82% -0.0092 -0.1745)
OKLCHoklch(62.82% 0.175 267)
XYZxyz(27.7107, 23.9106, 86.3569)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980F1 #F1CA59
analogous
#59CCF1 #5980F1 #7E59F1
triadic
#5980F1 #F15980 #80F159
tetradic
#5980F1 #F159CC #F1CA59 #59F17E
square
#5980F1 #F159CC #F1CA59 #59F17E
split-complementary
#5980F1 #F17E59 #CCF159
monochromatic
#103DBF #2155EC #5980F1 #91ABF6 #CAD6FB

Accessibility & contrast

On white

3.63
#5980F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5980F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980F1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980F1#FFFFFF#000000##000000
##5980F11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5980f1;
/* rgb */ color: rgb(89, 128, 241);
/* oklch */ color: oklch(62.8% 0.175 267.0);
Tailwind
colors: {
  custom: {
    50: '#96a4f6',
    500: '#5980f1',
    950: '#000000',
  },
}
SCSS
$custom: #5980f1;
$custom-light: #96a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5980f1",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 241
  },
  "hsl": {
    "h": 224.605,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.17474,
    "h": 267
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#5980F1
secondary
#EDE0B9
accent
#A805E1
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5980F1

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

Preview Lab → · Contrast checker → · Palette generator →

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