#5B91F7#5B91F7

#5B91F7 is a light, vivid blue. Relative luminance 0.292; OKLCH L 66.8% C 0.162 H 261.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5B91F7
RGBrgb(91, 145, 247)
HSLhsl(219, 91%, 66%)
HSVhsv(219, 63%, 97%)
CMYKcmyk(63.2%, 41.3%, 0%, 3.1%)
CIE-LABlab(60.95, 13.33, -56.39)
CIE-LCHlch(60.95, 57.94, 283.30°)
OKLaboklab(66.76% -0.0228 -0.1607)
OKLCHoklch(66.76% 0.162 261.9)
XYZxyz(31.2224, 29.1874, 91.9660)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B91F7 #F7C15B
analogous
#5BDFF7 #5B91F7 #735BF7
triadic
#5B91F7 #F75B91 #91F75B
tetradic
#5B91F7 #F75BDF #F7C15B #5BF773
square
#5B91F7 #F75BDF #F7C15B #5BF773
split-complementary
#5B91F7 #F7735B #DFF75B
monochromatic
#0A4ECE #216AF4 #5B91F7 #95B8FA #D0DFFD

Accessibility & contrast

On white

3.07
#5B91F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5B91F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B91F7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B91F7#FFFFFF#000000##000000
##5B91F71.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#4B8CF5
Tritanopia (blue-blind)
#00A8B8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5b91f7;
/* rgb */ color: rgb(91, 145, 247);
/* oklch */ color: oklch(66.8% 0.162 261.9);
Tailwind
colors: {
  custom: {
    50: '#97b0fa',
    500: '#5b91f7',
    950: '#000000',
  },
}
SCSS
$custom: #5b91f7;
$custom-light: #97b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b91f7",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 219.231,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.16232,
    "h": 261.9
  },
  "luminance": 0.2919
}

Semantic roles & 50–950 ramp

primary
#5B91F7
secondary
#F0DFBD
accent
#9600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5B91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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