#5B8BF6#5B8BF6

#5B8BF6 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.5% C 0.168 H 264.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5B8BF6
RGBrgb(91, 139, 246)
HSLhsl(221, 90%, 66%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(63%, 43.5%, 0%, 3.5%)
CIE-LABlab(59.29, 16.58, -58.48)
CIE-LCHlch(59.29, 60.79, 285.83°)
OKLaboklab(65.46% -0.0172 -0.1669)
OKLCHoklch(65.46% 0.168 264.1)
XYZxyz(30.1758, 27.3404, 90.8579)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8BF6 #F6C65B
analogous
#5BD9F6 #5B8BF6 #785BF6
triadic
#5B8BF6 #F65B8B #8BF65B
tetradic
#5B8BF6 #F65BD9 #F6C65B #5BF678
square
#5B8BF6 #F65BD9 #F6C65B #5BF678
split-complementary
#5B8BF6 #F6785B #D9F65B
monochromatic
#0B47CB #2162F3 #5B8BF6 #95B4F9 #CFDDFC

Accessibility & contrast

On white

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

On black

6.47
#5B8BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8BF6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8BF6#FFFFFF#000000##000000
##5B8BF61.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996FA
Deuteranopia (green-blind)
#4088F4
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8bf6;
/* rgb */ color: rgb(91, 139, 246);
/* oklch */ color: oklch(65.5% 0.168 264.1);
Tailwind
colors: {
  custom: {
    50: '#97acfa',
    500: '#5b8bf6',
    950: '#000000',
  },
}
SCSS
$custom: #5b8bf6;
$custom-light: #97acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8bf6",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 221.419,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65464,
    "c": 0.16782,
    "h": 264.1
  },
  "luminance": 0.27343
}

Semantic roles & 50–950 ramp

primary
#5B8BF6
secondary
#F0E0BD
accent
#9E00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5B8BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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