#5B80BC#5B80BC

#5B80BC is a mid, moderate blue. Relative luminance 0.213; OKLCH L 59.8% C 0.101 H 259.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B80BC
RGBrgb(91, 128, 188)
HSLhsl(217, 42%, 55%)
HSVhsv(217, 52%, 74%)
CMYKcmyk(51.6%, 31.9%, 0%, 26.3%)
CIE-LABlab(53.27, 4.22, -35.45)
CIE-LCHlch(53.27, 35.70, 276.79°)
OKLaboklab(59.82% -0.0181 -0.0997)
OKLCHoklch(59.82% 0.101 259.7)
XYZxyz(21.1076, 21.2918, 50.5647)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B80BC #BC975B
analogous
#5BB1BC #5B80BC #675BBC
triadic
#5B80BC #BC5B80 #80BC5B
tetradic
#5B80BC #BC5BB1 #BC975B #5BBC67
square
#5B80BC #BC5BB1 #BC975B #5BBC67
split-complementary
#5B80BC #BC675B #B1BC5B
monochromatic
#2D476F #3F629B #5B80BC #86A2CE #B2C3E0

Accessibility & contrast

On white

3.99
#5B80BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5B80BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B80BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B80BC#FFFFFF#000000##000000
##5B80BC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BF
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#2C8D95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b80bc;
/* rgb */ color: rgb(91, 128, 188);
/* oklch */ color: oklch(59.8% 0.101 259.7);
Tailwind
colors: {
  custom: {
    50: '#8fa4d0',
    500: '#5b80bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b80bc;
$custom-light: #8fa4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b80bc",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 188
  },
  "hsl": {
    "h": 217.113,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.10134,
    "h": 259.7
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#5B80BC
secondary
#CEBEA5
accent
#A356D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5B80BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5B80BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva