#5B9DFD#5B9DFD

#5B9DFD is a light, vivid blue. Relative luminance 0.334; OKLCH L 69.6% C 0.157 H 257.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5B9DFD
RGBrgb(91, 157, 253)
HSLhsl(216, 98%, 67%)
HSVhsv(216, 64%, 99%)
CMYKcmyk(64%, 37.9%, 0%, 0.8%)
CIE-LABlab(64.50, 8.26, -54.01)
CIE-LCHlch(64.50, 54.64, 278.70°)
OKLaboklab(69.62% -0.0332 -0.1536)
OKLCHoklch(69.62% 0.157 257.8)
XYZxyz(34.0946, 33.4266, 97.5647)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9DFD #FDBB5B
analogous
#5BEEFD #5B9DFD #6A5BFD
triadic
#5B9DFD #FD5B9D #9DFD5B
tetradic
#5B9DFD #FD5BEE #FDBB5B #5BFD6A
square
#5B9DFD #FD5BEE #FDBB5B #5BFD6A
split-complementary
#5B9DFD #FD6A5B #EEFD5B
monochromatic
#035BDB #1F79FC #5B9DFD #97C1FE #D4E5FE

Accessibility & contrast

On white

2.73
#5B9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#5B9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B9DFD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9DFD#FFFFFF#000000##000000
##5B9DFD1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#5B95FB
Tritanopia (blue-blind)
#00B3C1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5b9dfd;
/* rgb */ color: rgb(91, 157, 253);
/* oklch */ color: oklch(69.6% 0.157 257.8);
Tailwind
colors: {
  custom: {
    50: '#98b9fe',
    500: '#5b9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #5b9dfd;
$custom-light: #98b9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9dfd",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 215.556,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6962,
    "c": 0.15714,
    "h": 257.8
  },
  "luminance": 0.3343
}

Semantic roles & 50–950 ramp

primary
#5B9DFD
secondary
#F3DFC1
accent
#8800E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5B9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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