#5B80BB#5B80BB

#5B80BB is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.8% C 0.100 H 259.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5B80BB
RGBrgb(91, 128, 187)
HSLhsl(217, 41%, 55%)
HSVhsv(217, 51%, 73%)
CMYKcmyk(51.3%, 31.6%, 0%, 26.7%)
CIE-LABlab(53.22, 3.91, -34.95)
CIE-LCHlch(53.22, 35.17, 276.38°)
OKLaboklab(59.77% -0.0183 -0.0983)
OKLCHoklch(59.77% 0.1 259.4)
XYZxyz(21.0002, 21.2488, 49.9989)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B80BB #BB965B
analogous
#5BB0BB #5B80BB #665BBB
triadic
#5B80BB #BB5B80 #80BB5B
tetradic
#5B80BB #BB5BB0 #BB965B #5BBB66
square
#5B80BB #BB5BB0 #BB965B #5BBB66
split-complementary
#5B80BB #BB665B #B0BB5B
monochromatic
#2E466E #406299 #5B80BB #86A2CD #B2C3DF

Accessibility & contrast

On white

4.00
#5B80BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5B80BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B80BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B80BB#FFFFFF#000000##000000
##5B80BB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#2D8D95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b80bb;
/* rgb */ color: rgb(91, 128, 187);
/* oklch */ color: oklch(59.8% 0.100 259.4);
Tailwind
colors: {
  custom: {
    50: '#8fa4cf',
    500: '#5b80bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b80bb;
$custom-light: #8fa4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b80bb",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 187
  },
  "hsl": {
    "h": 216.875,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.09996,
    "h": 259.4
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#5B80BB
secondary
#CDBEA5
accent
#A257D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5B80BB

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

Preview Lab → · Contrast checker → · Palette generator →

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