#5B8CF6#5B8CF6

#5B8CF6 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.7% C 0.167 H 263.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5B8CF6
RGBrgb(91, 140, 246)
HSLhsl(221, 90%, 66%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(63%, 43.1%, 0%, 3.5%)
CIE-LABlab(59.55, 15.98, -58.06)
CIE-LCHlch(59.55, 60.22, 285.39°)
OKLaboklab(65.67% -0.0181 -0.1657)
OKLCHoklch(65.67% 0.167 263.8)
XYZxyz(30.3212, 27.6313, 90.9064)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CF6 #F6C55B
analogous
#5BD9F6 #5B8CF6 #775BF6
triadic
#5B8CF6 #F65B8C #8CF65B
tetradic
#5B8CF6 #F65BD9 #F6C55B #5BF677
square
#5B8CF6 #F65BD9 #F6C55B #5BF677
split-complementary
#5B8CF6 #F6775B #D9F65B
monochromatic
#0B48CB #2163F3 #5B8CF6 #95B5F9 #CFDDFC

Accessibility & contrast

On white

3.22
#5B8CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5B8CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CF6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CF6#FFFFFF#000000##000000
##5B8CF61.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#00A4B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8cf6;
/* rgb */ color: rgb(91, 140, 246);
/* oklch */ color: oklch(65.7% 0.167 263.8);
Tailwind
colors: {
  custom: {
    50: '#97adfa',
    500: '#5b8cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5b8cf6;
$custom-light: #97adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8cf6",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 221.032,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.16667,
    "h": 263.8
  },
  "luminance": 0.27634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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