#5B8DFD#5B8DFD

#5B8DFD is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.3% C 0.175 H 264.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5B8DFD
RGBrgb(91, 141, 253)
HSLhsl(221, 98%, 67%)
HSVhsv(221, 64%, 99%)
CMYKcmyk(64%, 44.3%, 0%, 0.8%)
CIE-LABlab(60.22, 17.73, -60.85)
CIE-LCHlch(60.22, 63.38, 286.24°)
OKLaboklab(66.3% -0.0179 -0.1739)
OKLCHoklch(66.3% 0.175 264.1)
XYZxyz(31.5627, 28.3628, 96.7207)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8DFD #FDCB5B
analogous
#5BDEFD #5B8DFD #7A5BFD
triadic
#5B8DFD #FD5B8D #8DFD5B
tetradic
#5B8DFD #FD5BDE #FDCB5B #5BFD7A
square
#5B8DFD #FD5BDE #FDCB5B #5BFD7A
split-complementary
#5B8DFD #FD7A5B #DEFD5B
monochromatic
#0345DB #1F63FC #5B8DFD #97B7FE #D4E1FE

Accessibility & contrast

On white

3.15
#5B8DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5B8DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8DFD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8DFD#FFFFFF#000000##000000
##5B8DFD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#3B8AFB
Tritanopia (blue-blind)
#00A7B9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b8dfd;
/* rgb */ color: rgb(91, 141, 253);
/* oklch */ color: oklch(66.3% 0.175 264.1);
Tailwind
colors: {
  custom: {
    50: '#98adff',
    500: '#5b8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #5b8dfd;
$custom-light: #98adff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8dfd",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 221.481,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.17479,
    "h": 264.1
  },
  "luminance": 0.28366
}

Semantic roles & 50–950 ramp

primary
#5B8DFD
secondary
#F3E4C1
accent
#9F00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5B8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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