#5B91E4#5B91E4

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

Color values

HEX#5B91E4
RGBrgb(91, 145, 228)
HSLhsl(216, 72%, 63%)
HSVhsv(216, 60%, 89%)
CMYKcmyk(60.1%, 36.4%, 0%, 10.6%)
CIE-LABlab(59.96, 7.03, -47.46)
CIE-LCHlch(59.96, 47.98, 278.42°)
OKLaboklab(65.67% -0.0268 -0.1346)
OKLCHoklch(65.67% 0.137 258.7)
XYZxyz(28.4384, 28.0739, 77.3039)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B91E4 #E4AE5B
analogous
#5BD6E4 #5B91E4 #695BE4
triadic
#5B91E4 #E45B91 #91E45B
tetradic
#5B91E4 #E45BD6 #E4AE5B #5BE469
square
#5B91E4 #E45BD6 #E4AE5B #5BE469
split-complementary
#5B91E4 #E4695B #D6E45B
monochromatic
#1C53A9 #266EDB #5B91E4 #90B4ED #C4D7F5

Accessibility & contrast

On white

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

On black

6.62
#5B91E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B91E4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B91E4#FFFFFF#000000##000000
##5B91E41.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E7
Deuteranopia (green-blind)
#5B8BE2
Tritanopia (blue-blind)
#00A4B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5b91e4;
/* rgb */ color: rgb(91, 145, 228);
/* oklch */ color: oklch(65.7% 0.137 258.7);
Tailwind
colors: {
  custom: {
    50: '#94b0ed',
    500: '#5b91e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b91e4;
$custom-light: #94b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b91e4",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 228
  },
  "hsl": {
    "h": 216.35,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.13722,
    "h": 258.7
  },
  "luminance": 0.28076
}

Semantic roles & 50–950 ramp

primary
#5B91E4
secondary
#E6D3B4
accent
#8712D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B91E4

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

Preview Lab → · Contrast checker → · Palette generator →

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