#5980DB#5980DB

#5980DB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.145 H 265.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5980DB
RGBrgb(89, 128, 219)
HSLhsl(222, 64%, 60%)
HSVhsv(222, 59%, 86%)
CMYKcmyk(59.4%, 41.6%, 0%, 14.1%)
CIE-LABlab(54.74, 13.84, -50.72)
CIE-LCHlch(54.74, 52.58, 285.26°)
OKLaboklab(61.45% -0.0127 -0.1443)
OKLCHoklch(61.45% 0.145 265)
XYZxyz(24.6208, 22.6746, 70.0833)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980DB #DBB459
analogous
#59C1DB #5980DB #7359DB
triadic
#5980DB #DB5980 #80DB59
tetradic
#5980DB #DB59C1 #DBB459 #59DB73
square
#5980DB #DB59C1 #DBB459 #59DB73
split-complementary
#5980DB #DB7359 #C1DB59
monochromatic
#214599 #2C5CCB #5980DB #8BA6E6 #BECDF1

Accessibility & contrast

On white

3.79
#5980DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5980DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980DB#FFFFFF#000000##000000
##5980DB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5980db;
/* rgb */ color: rgb(89, 128, 219);
/* oklch */ color: oklch(61.4% 0.145 265.0);
Tailwind
colors: {
  custom: {
    50: '#92a4e6',
    500: '#5980db',
    950: '#000000',
  },
}
SCSS
$custom: #5980db;
$custom-light: #92a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5980db",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 222,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.1449,
    "h": 265
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#5980DB
secondary
#E1D2AF
accent
#9719CC
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5980DB

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

Preview Lab → · Contrast checker → · Palette generator →

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