#5980BB#5980BB

#5980BB is a mid, moderate blue. Relative luminance 0.211; OKLCH L 59.7% C 0.101 H 258.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5980BB
RGBrgb(89, 128, 187)
HSLhsl(216, 42%, 54%)
HSVhsv(216, 52%, 73%)
CMYKcmyk(52.4%, 31.6%, 0%, 26.7%)
CIE-LABlab(53.11, 3.44, -35.13)
CIE-LCHlch(53.11, 35.30, 275.59°)
OKLaboklab(59.66% -0.0202 -0.0988)
OKLCHoklch(59.66% 0.101 258.4)
XYZxyz(20.8056, 21.1485, 49.9898)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5980BB #BB9459
analogous
#59B1BB #5980BB #6359BB
triadic
#5980BB #BB5980 #80BB59
tetradic
#5980BB #BB59B1 #BB9459 #59BB63
square
#5980BB #BB59B1 #BB9459 #59BB63
split-complementary
#5980BB #BB6359 #B1BB59
monochromatic
#2D466D #3E6298 #5980BB #84A1CD #B0C2DF

Accessibility & contrast

On white

4.02
#5980BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5980BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5980BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5980BB#FFFFFF#000000##000000
##5980BB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#278D95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5980bb;
/* rgb */ color: rgb(89, 128, 187);
/* oklch */ color: oklch(59.7% 0.101 258.4);
Tailwind
colors: {
  custom: {
    50: '#8ea4cf',
    500: '#5980bb',
    950: '#000000',
  },
}
SCSS
$custom: #5980bb;
$custom-light: #8ea4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5980bb",
  "rgb": {
    "r": 89,
    "g": 128,
    "b": 187
  },
  "hsl": {
    "h": 216.122,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59658,
    "c": 0.10087,
    "h": 258.4
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#5980BB
secondary
#CDBCA3
accent
#A156D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5980BB

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

Preview Lab → · Contrast checker → · Palette generator →

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