#5980FE#5980FE

#5980FE is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.7% C 0.192 H 267.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5980FE
RGBrgb(89, 128, 254)
HSLhsl(226, 99%, 67%)
HSVhsv(226, 65%, 100%)
CMYKcmyk(65%, 49.6%, 0%, 0.4%)
CIE-LABlab(56.80, 25.60, -66.90)
CIE-LCHlch(56.80, 71.63, 290.94°)
OKLaboklab(63.69% -0.0076 -0.1919)
OKLCHoklch(63.69% 0.192 267.7)
XYZxyz(29.7222, 24.7152, 96.9509)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980FE #FED759
analogous
#59D3FE #5980FE #8559FE
triadic
#5980FE #FE5980 #80FE59
tetradic
#5980FE #FE59D3 #FED759 #59FE85
square
#5980FE #FE59D3 #FED759 #59FE85
split-complementary
#5980FE #FE8559 #D3FE59
monochromatic
#0135DB #1C51FE #5980FE #96AFFE #D3DDFF

Accessibility & contrast

On white

3.53
#5980FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5980FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980FE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980FE#FFFFFF#000000##000000
##5980FE1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#009DB3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5980fe;
/* rgb */ color: rgb(89, 128, 254);
/* oklch */ color: oklch(63.7% 0.192 267.7);
Tailwind
colors: {
  custom: {
    50: '#98a4ff',
    500: '#5980fe',
    950: '#000000',
  },
}
SCSS
$custom: #5980fe;
$custom-light: #98a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5980fe",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 225.818,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.19202,
    "h": 267.7
  },
  "luminance": 0.24718
}

Semantic roles & 50–950 ramp

primary
#5980FE
secondary
#F3E7BF
accent
#AF00E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5980FE

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

Preview Lab → · Contrast checker → · Palette generator →

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