#5B8BF4#5B8BF4

#5B8BF4 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.3% C 0.165 H 263.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5B8BF4
RGBrgb(91, 139, 244)
HSLhsl(221, 87%, 66%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(62.7%, 43%, 0%, 4.3%)
CIE-LABlab(59.18, 15.91, -57.56)
CIE-LCHlch(59.18, 59.72, 285.45°)
OKLaboklab(65.34% -0.0175 -0.1642)
OKLCHoklch(65.34% 0.165 263.9)
XYZxyz(29.8705, 27.2183, 89.2499)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8BF4 #F4C45B
analogous
#5BD8F4 #5B8BF4 #775BF4
triadic
#5B8BF4 #F45B8B #8BF45B
tetradic
#5B8BF4 #F45BD8 #F4C45B #5BF477
square
#5B8BF4 #F45BD8 #F4C45B #5BF477
split-complementary
#5B8BF4 #F4775B #D8F45B
monochromatic
#0D48C7 #2262F0 #5B8BF4 #94B4F8 #CEDCFC

Accessibility & contrast

On white

3.26
#5B8BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5B8BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8BF4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8BF4#FFFFFF#000000##000000
##5B8BF41.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F8
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8bf4;
/* rgb */ color: rgb(91, 139, 244);
/* oklch */ color: oklch(65.3% 0.165 263.9);
Tailwind
colors: {
  custom: {
    50: '#97acf8',
    500: '#5b8bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5b8bf4;
$custom-light: #97acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8bf4",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 221.176,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.16516,
    "h": 263.9
  },
  "luminance": 0.27221
}

Semantic roles & 50–950 ramp

primary
#5B8BF4
secondary
#EFDFBC
accent
#9D02E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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