#5B8BF1#5B8BF1

#5B8BF1 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.2% C 0.161 H 263.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B8BF1
RGBrgb(91, 139, 241)
HSLhsl(221, 84%, 65%)
HSVhsv(221, 62%, 95%)
CMYKcmyk(62.2%, 42.3%, 0%, 5.5%)
CIE-LABlab(59.01, 14.90, -56.17)
CIE-LCHlch(59.01, 58.11, 284.86°)
OKLaboklab(65.16% -0.018 -0.1601)
OKLCHoklch(65.16% 0.161 263.6)
XYZxyz(29.4187, 27.0376, 86.8705)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8BF1 #F1C15B
analogous
#5BD6F1 #5B8BF1 #765BF1
triadic
#5B8BF1 #F15B8B #8BF15B
tetradic
#5B8BF1 #F15BD6 #F1C15B #5BF176
square
#5B8BF1 #F15BD6 #F1C15B #5BF176
split-complementary
#5B8BF1 #F1765B #D6F15B
monochromatic
#1049C1 #2363EC #5B8BF1 #93B3F6 #CCDBFB

Accessibility & contrast

On white

3.28
#5B8BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5B8BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8BF1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8BF1#FFFFFF#000000##000000
##5B8BF11.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#4588EF
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8bf1;
/* rgb */ color: rgb(91, 139, 241);
/* oklch */ color: oklch(65.2% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#96acf6',
    500: '#5b8bf1',
    950: '#000000',
  },
}
SCSS
$custom: #5b8bf1;
$custom-light: #96acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8bf1",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 220.8,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.16115,
    "h": 263.6
  },
  "luminance": 0.2704
}

Semantic roles & 50–950 ramp

primary
#5B8BF1
secondary
#EDDDBA
accent
#9A05E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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