#5980F2#5980F2

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

Color values

HEX#5980F2
RGBrgb(89, 128, 242)
HSLhsl(225, 85%, 65%)
HSVhsv(225, 63%, 95%)
CMYKcmyk(63.2%, 47.1%, 0%, 5.1%)
CIE-LABlab(56.06, 21.54, -61.45)
CIE-LCHlch(56.06, 65.12, 289.32°)
OKLaboklab(62.89% -0.009 -0.1758)
OKLCHoklch(62.89% 0.176 267.1)
XYZxyz(27.8605, 23.9705, 87.1457)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980F2 #F2CB59
analogous
#59CCF2 #5980F2 #7F59F2
triadic
#5980F2 #F25980 #80F259
tetradic
#5980F2 #F259CC #F2CB59 #59F27F
square
#5980F2 #F259CC #F2CB59 #59F27F
split-complementary
#5980F2 #F27F59 #CCF259
monochromatic
#0F3DC1 #2055EE #5980F2 #92ABF6 #CBD7FB

Accessibility & contrast

On white

3.62
#5980F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5980F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980F2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980F2#FFFFFF#000000##000000
##5980F21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5980f2;
/* rgb */ color: rgb(89, 128, 242);
/* oklch */ color: oklch(62.9% 0.176 267.1);
Tailwind
colors: {
  custom: {
    50: '#96a4f7',
    500: '#5980f2',
    950: '#000000',
  },
}
SCSS
$custom: #5980f2;
$custom-light: #96a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5980f2",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 224.706,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.17608,
    "h": 267.1
  },
  "luminance": 0.23973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5980F2

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

Preview Lab → · Contrast checker → · Palette generator →

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