#5B8DF9#5B8DF9

#5B8DF9 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.1% C 0.170 H 263.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5B8DF9
RGBrgb(91, 141, 249)
HSLhsl(221, 93%, 67%)
HSVhsv(221, 63%, 98%)
CMYKcmyk(63.5%, 43.4%, 0%, 2.4%)
CIE-LABlab(59.99, 16.39, -59.02)
CIE-LCHlch(59.99, 61.25, 285.52°)
OKLaboklab(66.06% -0.0186 -0.1685)
OKLCHoklch(66.06% 0.17 263.7)
XYZxyz(30.9322, 28.1106, 93.3999)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8DF9 #F9C75B
analogous
#5BDCF9 #5B8DF9 #785BF9
triadic
#5B8DF9 #F95B8D #8DF95B
tetradic
#5B8DF9 #F95BDC #F9C75B #5BF978
square
#5B8DF9 #F95BDC #F9C75B #5BF978
split-complementary
#5B8DF9 #F9785B #DCF95B
monochromatic
#0848D2 #2064F7 #5B8DF9 #96B6FB #D1DFFD

Accessibility & contrast

On white

3.17
#5B8DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5B8DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8DF9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8DF9#FFFFFF#000000##000000
##5B8DF91.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#408AF7
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b8df9;
/* rgb */ color: rgb(91, 141, 249);
/* oklch */ color: oklch(66.1% 0.170 263.7);
Tailwind
colors: {
  custom: {
    50: '#97adfc',
    500: '#5b8df9',
    950: '#000000',
  },
}
SCSS
$custom: #5b8df9;
$custom-light: #97adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8df9",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 221.013,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66057,
    "c": 0.1695,
    "h": 263.7
  },
  "luminance": 0.28113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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