#5B91E5#5B91E5

#5B91E5 is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.7% C 0.139 H 258.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5B91E5
RGBrgb(91, 145, 229)
HSLhsl(217, 73%, 63%)
HSVhsv(217, 60%, 90%)
CMYKcmyk(60.3%, 36.7%, 0%, 10.2%)
CIE-LABlab(60.01, 7.36, -47.94)
CIE-LCHlch(60.01, 48.50, 278.72°)
OKLaboklab(65.72% -0.0266 -0.136)
OKLCHoklch(65.72% 0.139 258.9)
XYZxyz(28.5777, 28.1295, 78.0371)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B91E5 #E5AF5B
analogous
#5BD6E5 #5B91E5 #6A5BE5
triadic
#5B91E5 #E55B91 #91E55B
tetradic
#5B91E5 #E55BD6 #E5AF5B #5BE56A
square
#5B91E5 #E55BD6 #E5AF5B #5BE56A
split-complementary
#5B91E5 #E56A5B #D6E55B
monochromatic
#1B53AB #266EDD #5B91E5 #90B4ED #C5D8F6

Accessibility & contrast

On white

3.17
#5B91E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5B91E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B91E5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B91E5#FFFFFF#000000##000000
##5B91E51.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E8
Deuteranopia (green-blind)
#5B8BE3
Tritanopia (blue-blind)
#00A4B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b91e5;
/* rgb */ color: rgb(91, 145, 229);
/* oklch */ color: oklch(65.7% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#94b0ed',
    500: '#5b91e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b91e5;
$custom-light: #94b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b91e5",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 229
  },
  "hsl": {
    "h": 216.522,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65724,
    "c": 0.13854,
    "h": 258.9
  },
  "luminance": 0.28132
}

Semantic roles & 50–950 ramp

primary
#5B91E5
secondary
#E7D3B5
accent
#8811D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B91E5

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

Preview Lab → · Contrast checker → · Palette generator →

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