#5980F3#5980F3

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

Color values

HEX#5980F3
RGBrgb(89, 128, 243)
HSLhsl(225, 87%, 65%)
HSVhsv(225, 63%, 95%)
CMYKcmyk(63.4%, 47.3%, 0%, 4.7%)
CIE-LABlab(56.12, 21.88, -61.91)
CIE-LCHlch(56.12, 65.66, 289.46°)
OKLaboklab(62.95% -0.0089 -0.1772)
OKLCHoklch(62.95% 0.177 267.1)
XYZxyz(28.0111, 24.0307, 87.9389)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980F3 #F3CC59
analogous
#59CDF3 #5980F3 #7F59F3
triadic
#5980F3 #F35980 #80F359
tetradic
#5980F3 #F359CD #F3CC59 #59F37F
square
#5980F3 #F359CD #F3CC59 #59F37F
split-complementary
#5980F3 #F37F59 #CDF359
monochromatic
#0E3CC3 #2054EF #5980F3 #92ACF7 #CBD7FB

Accessibility & contrast

On white

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

On black

5.81
#5980F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980F3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980F3#FFFFFF#000000##000000
##5980F31.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF7
Deuteranopia (green-blind)
#2580F1
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5980f3;
/* rgb */ color: rgb(89, 128, 243);
/* oklch */ color: oklch(63.0% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#96a4f8',
    500: '#5980f3',
    950: '#000000',
  },
}
SCSS
$custom: #5980f3;
$custom-light: #96a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5980f3",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 243
  },
  "hsl": {
    "h": 224.805,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62954,
    "c": 0.17742,
    "h": 267.1
  },
  "luminance": 0.24033
}

Semantic roles & 50–950 ramp

primary
#5980F3
secondary
#EEE1BA
accent
#AA02E3
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5980F3

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

Preview Lab → · Contrast checker → · Palette generator →

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