#5B7CF8#5B7CF8

#5B7CF8 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.6% C 0.188 H 269.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5B7CF8
RGBrgb(91, 124, 248)
HSLhsl(227, 92%, 66%)
HSVhsv(227, 63%, 97%)
CMYKcmyk(63.3%, 50%, 0%, 2.7%)
CIE-LABlab(55.50, 26.33, -65.68)
CIE-LCHlch(55.50, 70.76, 291.85°)
OKLaboklab(62.61% -0.0028 -0.1883)
OKLCHoklch(62.61% 0.188 269.1)
XYZxyz(28.4596, 23.4142, 91.8083)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CF8 #F8D75B
analogous
#5BCAF8 #5B7CF8 #895BF8
triadic
#5B7CF8 #F85B7C #7CF85B
tetradic
#5B7CF8 #F85BCA #F8D75B #5BF889
square
#5B7CF8 #F85BCA #F8D75B #5BF889
split-complementary
#5B7CF8 #F8895B #CAF85B
monochromatic
#0933D0 #204DF5 #5B7CF8 #96ABFB #D0DAFD

Accessibility & contrast

On white

3.69
#5B7CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5B7CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CF8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CF8#FFFFFF#000000##000000
##5B7CF81.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7cf8;
/* rgb */ color: rgb(91, 124, 248);
/* oklch */ color: oklch(62.6% 0.188 269.1);
Tailwind
colors: {
  custom: {
    50: '#98a1fb',
    500: '#5b7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cf8;
$custom-light: #98a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cf8",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 227.389,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62608,
    "c": 0.18831,
    "h": 269.1
  },
  "luminance": 0.23417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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