#5B7FF8#5B7FF8

#5B7FF8 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.185 H 268.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF8
RGBrgb(91, 127, 248)
HSLhsl(226, 92%, 66%)
HSVhsv(226, 63%, 97%)
CMYKcmyk(63.3%, 48.8%, 0%, 2.7%)
CIE-LABlab(56.27, 24.50, -64.44)
CIE-LCHlch(56.27, 68.94, 290.82°)
OKLaboklab(63.19% -0.0056 -0.1846)
OKLCHoklch(63.19% 0.185 268.3)
XYZxyz(28.8412, 24.1776, 91.9356)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF8 #F8D45B
analogous
#5BCEF8 #5B7FF8 #865BF8
triadic
#5B7FF8 #F85B7F #7FF85B
tetradic
#5B7FF8 #F85BCE #F8D45B #5BF886
square
#5B7FF8 #F85BCE #F8D45B #5BF886
split-complementary
#5B7FF8 #F8865B #CEF85B
monochromatic
#0936D0 #2051F5 #5B7FF8 #96ADFB #D0DBFD

Accessibility & contrast

On white

3.60
#5B7FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5B7FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF8#FFFFFF#000000##000000
##5B7FF81.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#1480F6
Tritanopia (blue-blind)
#009BB0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b7ff8;
/* rgb */ color: rgb(91, 127, 248);
/* oklch */ color: oklch(63.2% 0.185 268.3);
Tailwind
colors: {
  custom: {
    50: '#98a3fb',
    500: '#5b7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff8;
$custom-light: #98a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff8",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 226.242,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.18469,
    "h": 268.3
  },
  "luminance": 0.2418
}

Semantic roles & 50–950 ramp

primary
#5B7FF8
secondary
#F1E5BE
accent
#B100E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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