#5B9EFD#5B9EFD

#5B9EFD is a light, vivid blue. Relative luminance 0.338; OKLCH L 69.8% C 0.156 H 257.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5B9EFD
RGBrgb(91, 158, 253)
HSLhsl(215, 98%, 67%)
HSVhsv(215, 64%, 99%)
CMYKcmyk(64%, 37.5%, 0%, 0.8%)
CIE-LABlab(64.78, 7.68, -53.58)
CIE-LCHlch(64.78, 54.13, 278.16°)
OKLaboklab(69.83% -0.0342 -0.1523)
OKLCHoklch(69.83% 0.156 257.4)
XYZxyz(34.2645, 33.7664, 97.6213)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9EFD #FDBA5B
analogous
#5BEFFD #5B9EFD #695BFD
triadic
#5B9EFD #FD5B9E #9EFD5B
tetradic
#5B9EFD #FD5BEF #FDBA5B #5BFD69
square
#5B9EFD #FD5BEF #FDBA5B #5BFD69
split-complementary
#5B9EFD #FD695B #EFFD5B
monochromatic
#035CDB #1F7AFC #5B9EFD #97C2FE #D4E6FE

Accessibility & contrast

On white

2.71
#5B9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#5B9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B9EFD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9EFD#FFFFFF#000000##000000
##5B9EFD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#00B4C1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5b9efd;
/* rgb */ color: rgb(91, 158, 253);
/* oklch */ color: oklch(69.8% 0.156 257.4);
Tailwind
colors: {
  custom: {
    50: '#98bafe',
    500: '#5b9efd',
    950: '#000000',
  },
}
SCSS
$custom: #5b9efd;
$custom-light: #98bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9efd",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 215.185,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.1561,
    "h": 257.4
  },
  "luminance": 0.3377
}

Semantic roles & 50–950 ramp

primary
#5B9EFD
secondary
#F3DEC1
accent
#8700E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5B9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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