#5B8CF9#5B8CF9

#5B8CF9 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.9% C 0.171 H 264.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5B8CF9
RGBrgb(91, 140, 249)
HSLhsl(221, 93%, 67%)
HSVhsv(221, 63%, 98%)
CMYKcmyk(63.5%, 43.8%, 0%, 2.4%)
CIE-LABlab(59.72, 16.99, -59.44)
CIE-LCHlch(59.72, 61.82, 285.95°)
OKLaboklab(65.85% -0.0176 -0.1697)
OKLCHoklch(65.85% 0.171 264.1)
XYZxyz(30.7854, 27.8170, 93.3510)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CF9 #F9C85B
analogous
#5BDBF9 #5B8CF9 #795BF9
triadic
#5B8CF9 #F95B8C #8CF95B
tetradic
#5B8CF9 #F95BDB #F9C85B #5BF979
square
#5B8CF9 #F95BDB #F9C85B #5BF979
split-complementary
#5B8CF9 #F9795B #DBF95B
monochromatic
#0846D2 #2063F7 #5B8CF9 #96B5FB #D1DFFD

Accessibility & contrast

On white

3.20
#5B8CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5B8CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CF9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CF9#FFFFFF#000000##000000
##5B8CF91.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5b8cf9;
/* rgb */ color: rgb(91, 140, 249);
/* oklch */ color: oklch(65.9% 0.171 264.1);
Tailwind
colors: {
  custom: {
    50: '#97adfc',
    500: '#5b8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #5b8cf9;
$custom-light: #97adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8cf9",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 221.392,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65853,
    "c": 0.17065,
    "h": 264.1
  },
  "luminance": 0.2782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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