#5B8CD8#5B8CD8

#5B8CD8 is a light, vivid blue. Relative luminance 0.259; OKLCH L 63.9% C 0.127 H 258.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5B8CD8
RGBrgb(91, 140, 216)
HSLhsl(216, 62%, 60%)
HSVhsv(216, 58%, 85%)
CMYKcmyk(57.9%, 35.2%, 0%, 15.3%)
CIE-LABlab(57.98, 6.06, -43.90)
CIE-LCHlch(57.98, 44.31, 277.85°)
OKLaboklab(63.93% -0.0244 -0.1242)
OKLCHoklch(63.93% 0.127 258.9)
XYZxyz(26.0828, 25.9360, 68.5841)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CD8 #D8A75B
analogous
#5BCAD8 #5B8CD8 #685BD8
triadic
#5B8CD8 #D85B8C #8CD85B
tetradic
#5B8CD8 #D85BCA #D8A75B #5BD868
square
#5B8CD8 #D85BCA #D8A75B #5BD868
split-complementary
#5B8CD8 #D8685B #CAD85B
monochromatic
#235095 #2F6BC7 #5B8CD8 #8CAFE4 #BED1F0

Accessibility & contrast

On white

3.39
#5B8CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#5B8CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CD8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CD8#FFFFFF#000000##000000
##5B8CD81.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DB
Deuteranopia (green-blind)
#5C86D6
Tritanopia (blue-blind)
#009DA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b8cd8;
/* rgb */ color: rgb(91, 140, 216);
/* oklch */ color: oklch(63.9% 0.127 258.9);
Tailwind
colors: {
  custom: {
    50: '#93ade4',
    500: '#5b8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #5b8cd8;
$custom-light: #93ade4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8cd8",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 216.48,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.12658,
    "h": 258.9
  },
  "luminance": 0.25938
}

Semantic roles & 50–950 ramp

primary
#5B8CD8
secondary
#DFCDAF
accent
#851CC9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1015
muted
#7E7F84

Preview Lab

Preview with #5B8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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