#5B7BF8#5B7BF8

#5B7BF8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.4% C 0.190 H 269.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B7BF8
RGBrgb(91, 123, 248)
HSLhsl(228, 92%, 66%)
HSVhsv(228, 63%, 97%)
CMYKcmyk(63.3%, 50.4%, 0%, 2.7%)
CIE-LABlab(55.24, 26.94, -66.09)
CIE-LCHlch(55.24, 71.37, 292.18°)
OKLaboklab(62.42% -0.0019 -0.1895)
OKLCHoklch(62.42% 0.19 269.4)
XYZxyz(28.3349, 23.1648, 91.7668)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BF8 #F8D85B
analogous
#5BC9F8 #5B7BF8 #8A5BF8
triadic
#5B7BF8 #F85B7B #7BF85B
tetradic
#5B7BF8 #F85BC9 #F8D85B #5BF88A
square
#5B7BF8 #F85BC9 #F8D85B #5BF88A
split-complementary
#5B7BF8 #F88A5B #C9F85B
monochromatic
#0931D0 #204CF5 #5B7BF8 #96AAFB #D0D9FD

Accessibility & contrast

On white

3.73
#5B7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5B7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BF8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BF8#FFFFFF#000000##000000
##5B7BF81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFC
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#0098AE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7bf8;
/* rgb */ color: rgb(91, 123, 248);
/* oklch */ color: oklch(62.4% 0.190 269.4);
Tailwind
colors: {
  custom: {
    50: '#98a0fb',
    500: '#5b7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bf8;
$custom-light: #98a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bf8",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 227.771,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62415,
    "c": 0.18952,
    "h": 269.4
  },
  "luminance": 0.23167
}

Semantic roles & 50–950 ramp

primary
#5B7BF8
secondary
#F1E6BE
accent
#B700E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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