#5B80E2#5B80E2

#5B80E2 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.154 H 266.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B80E2
RGBrgb(91, 128, 226)
HSLhsl(224, 70%, 62%)
HSVhsv(224, 60%, 89%)
CMYKcmyk(59.7%, 43.4%, 0%, 11.4%)
CIE-LABlab(55.23, 16.54, -53.86)
CIE-LCHlch(55.23, 56.34, 287.07°)
OKLaboklab(61.98% -0.0096 -0.1535)
OKLCHoklch(61.98% 0.154 266.4)
XYZxyz(25.7563, 23.1513, 75.0481)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B80E2 #E2BD5B
analogous
#5BC3E2 #5B80E2 #7A5BE2
triadic
#5B80E2 #E25B80 #80E25B
tetradic
#5B80E2 #E25BC3 #E2BD5B #5BE27A
square
#5B80E2 #E25BC3 #E2BD5B #5BE27A
split-complementary
#5B80E2 #E27A5B #C3E25B
monochromatic
#1D43A5 #2758D9 #5B80E2 #8FA8EB #C3D1F4

Accessibility & contrast

On white

3.73
#5B80E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5B80E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B80E2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B80E2#FFFFFF#000000##000000
##5B80E21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#407FE0
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b80e2;
/* rgb */ color: rgb(91, 128, 226);
/* oklch */ color: oklch(62.0% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#94a4ec',
    500: '#5b80e2',
    950: '#000000',
  },
}
SCSS
$custom: #5b80e2;
$custom-light: #94a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b80e2",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 223.556,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.1538,
    "h": 266.4
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#5B80E2
secondary
#E5D8B4
accent
#9E14D2
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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