#5B8FE7#5B8FE7

#5B8FE7 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.143 H 260.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5B8FE7
RGBrgb(91, 143, 231)
HSLhsl(218, 74%, 63%)
HSVhsv(218, 61%, 91%)
CMYKcmyk(60.6%, 38.1%, 0%, 9.4%)
CIE-LABlab(59.56, 9.20, -49.76)
CIE-LCHlch(59.56, 50.60, 280.47°)
OKLaboklab(65.41% -0.0241 -0.1413)
OKLCHoklch(65.41% 0.143 260.3)
XYZxyz(28.5556, 27.6360, 79.4153)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FE7 #E7B35B
analogous
#5BD5E7 #5B8FE7 #6D5BE7
triadic
#5B8FE7 #E75B8F #8FE75B
tetradic
#5B8FE7 #E75BD5 #E7B35B #5BE76D
square
#5B8FE7 #E75BD5 #E7B35B #5BE76D
split-complementary
#5B8FE7 #E76D5B #D5E75B
monochromatic
#1951AE #266BDF #5B8FE7 #90B3EF #C6D8F7

Accessibility & contrast

On white

3.22
#5B8FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5B8FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FE7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FE7#FFFFFF#000000##000000
##5B8FE71.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EB
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#00A3B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8fe7;
/* rgb */ color: rgb(91, 143, 231);
/* oklch */ color: oklch(65.4% 0.143 260.3);
Tailwind
colors: {
  custom: {
    50: '#95afef',
    500: '#5b8fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5b8fe7;
$custom-light: #95afef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8fe7",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 217.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6541,
    "c": 0.14334,
    "h": 260.3
  },
  "luminance": 0.27639
}

Semantic roles & 50–950 ramp

primary
#5B8FE7
secondary
#E8D5B6
accent
#8C0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B8FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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