#5B91EF#5B91EF

#5B91EF is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.3% C 0.152 H 260.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5B91EF
RGBrgb(91, 145, 239)
HSLhsl(218, 82%, 65%)
HSVhsv(218, 62%, 94%)
CMYKcmyk(61.9%, 39.3%, 0%, 6.3%)
CIE-LABlab(60.52, 10.66, -52.66)
CIE-LCHlch(60.52, 53.73, 281.44°)
OKLaboklab(66.29% -0.0244 -0.1498)
OKLCHoklch(66.29% 0.152 260.8)
XYZxyz(30.0143, 28.7042, 85.6034)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B91EF #EFB95B
analogous
#5BDBEF #5B91EF #6F5BEF
triadic
#5B91EF #EF5B91 #91EF5B
tetradic
#5B91EF #EF5BDB #EFB95B #5BEF6F
square
#5B91EF #EF5BDB #EFB95B #5BEF6F
split-complementary
#5B91EF #EF6F5B #DBEF5B
monochromatic
#1251BD #236CEA #5B91EF #93B6F4 #CBDCFA

Accessibility & contrast

On white

3.12
#5B91EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#5B91EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B91EF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B91EF#FFFFFF#000000##000000
##5B91EF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F3
Deuteranopia (green-blind)
#528CED
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5b91ef;
/* rgb */ color: rgb(91, 145, 239);
/* oklch */ color: oklch(66.3% 0.152 260.8);
Tailwind
colors: {
  custom: {
    50: '#96b0f5',
    500: '#5b91ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b91ef;
$custom-light: #96b0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b91ef",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 218.108,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.15174,
    "h": 260.8
  },
  "luminance": 0.28707
}

Semantic roles & 50–950 ramp

primary
#5B91EF
secondary
#ECDABA
accent
#9007DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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