#5B80D5#5B80D5

#5B80D5 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.136 H 264.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5B80D5
RGBrgb(91, 128, 213)
HSLhsl(222, 59%, 60%)
HSVhsv(222, 57%, 84%)
CMYKcmyk(57.3%, 39.9%, 0%, 16.5%)
CIE-LABlab(54.52, 12.25, -47.69)
CIE-LCHlch(54.52, 49.24, 284.41°)
OKLaboklab(61.2% -0.012 -0.1354)
OKLCHoklch(61.2% 0.136 264.9)
XYZxyz(24.0397, 22.4647, 66.0072)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B80D5 #D5B05B
analogous
#5BBDD5 #5B80D5 #735BD5
triadic
#5B80D5 #D55B80 #80D55B
tetradic
#5B80D5 #D55BBD #D5B05B #5BD573
square
#5B80D5 #D55BBD #D5B05B #5BD573
split-complementary
#5B80D5 #D5735B #BDD55B
monochromatic
#254691 #325DC1 #5B80D5 #8CA6E1 #BCCBEE

Accessibility & contrast

On white

3.82
#5B80D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5B80D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B80D5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B80D5#FFFFFF#000000##000000
##5B80D51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D8
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b80d5;
/* rgb */ color: rgb(91, 128, 213);
/* oklch */ color: oklch(61.2% 0.136 264.9);
Tailwind
colors: {
  custom: {
    50: '#92a4e2',
    500: '#5b80d5',
    950: '#000000',
  },
}
SCSS
$custom: #5b80d5;
$custom-light: #92a4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b80d5",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 213
  },
  "hsl": {
    "h": 221.803,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61202,
    "c": 0.13593,
    "h": 264.9
  },
  "luminance": 0.22467
}

Semantic roles & 50–950 ramp

primary
#5B80D5
secondary
#DECFAE
accent
#B345E2
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5B80D5

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

Preview Lab → · Contrast checker → · Palette generator →

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