#5B8BF5#5B8BF5

#5B8BF5 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.4% C 0.166 H 264.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5B8BF5
RGBrgb(91, 139, 245)
HSLhsl(221, 89%, 66%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(62.9%, 43.3%, 0%, 3.9%)
CIE-LABlab(59.23, 16.24, -58.02)
CIE-LCHlch(59.23, 60.25, 285.64°)
OKLaboklab(65.4% -0.0173 -0.1656)
OKLCHoklch(65.4% 0.166 264)
XYZxyz(30.0227, 27.2792, 90.0517)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8BF5 #F5C55B
analogous
#5BD8F5 #5B8BF5 #785BF5
triadic
#5B8BF5 #F55B8B #8BF55B
tetradic
#5B8BF5 #F55BD8 #F5C55B #5BF578
square
#5B8BF5 #F55BD8 #F5C55B #5BF578
split-complementary
#5B8BF5 #F5785B #D8F55B
monochromatic
#0C47C9 #2162F1 #5B8BF5 #95B4F9 #CEDDFC

Accessibility & contrast

On white

3.25
#5B8BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5B8BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8BF5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8BF5#FFFFFF#000000##000000
##5B8BF51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8bf5;
/* rgb */ color: rgb(91, 139, 245);
/* oklch */ color: oklch(65.4% 0.166 264.0);
Tailwind
colors: {
  custom: {
    50: '#97acf9',
    500: '#5b8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #5b8bf5;
$custom-light: #97acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8bf5",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 221.299,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65402,
    "c": 0.16649,
    "h": 264
  },
  "luminance": 0.27282
}

Semantic roles & 50–950 ramp

primary
#5B8BF5
secondary
#EFDFBC
accent
#9E00E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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