#5B8BF9#5B8BF9

#5B8BF9 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.6% C 0.172 H 264.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5B8BF9
RGBrgb(91, 139, 249)
HSLhsl(222, 93%, 67%)
HSVhsv(222, 63%, 98%)
CMYKcmyk(63.5%, 44.2%, 0%, 2.4%)
CIE-LABlab(59.46, 17.59, -59.87)
CIE-LCHlch(59.46, 62.39, 286.37°)
OKLaboklab(65.65% -0.0167 -0.171)
OKLCHoklch(65.65% 0.172 264.4)
XYZxyz(30.6399, 27.5261, 93.3025)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8BF9 #F9C95B
analogous
#5BDAF9 #5B8BF9 #7A5BF9
triadic
#5B8BF9 #F95B8B #8BF95B
tetradic
#5B8BF9 #F95BDA #F9C95B #5BF97A
square
#5B8BF9 #F95BDA #F9C95B #5BF97A
split-complementary
#5B8BF9 #F97A5B #DAF95B
monochromatic
#0845D2 #2061F7 #5B8BF9 #96B5FB #D1DFFD

Accessibility & contrast

On white

3.23
#5B8BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5B8BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8BF9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8BF9#FFFFFF#000000##000000
##5B8BF91.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#3C88F7
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8bf9;
/* rgb */ color: rgb(91, 139, 249);
/* oklch */ color: oklch(65.6% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#97acfc',
    500: '#5b8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #5b8bf9;
$custom-light: #97acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8bf9",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 221.772,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.17181,
    "h": 264.4
  },
  "luminance": 0.27529
}

Semantic roles & 50–950 ramp

primary
#5B8BF9
secondary
#F1E2BE
accent
#A000E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5B8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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