#5B8CD7#5B8CD7

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

Color values

HEX#5B8CD7
RGBrgb(91, 140, 215)
HSLhsl(216, 61%, 60%)
HSVhsv(216, 58%, 84%)
CMYKcmyk(57.7%, 34.9%, 0%, 15.7%)
CIE-LABlab(57.93, 5.73, -43.41)
CIE-LCHlch(57.93, 43.79, 277.52°)
OKLaboklab(63.88% -0.0247 -0.1228)
OKLCHoklch(63.88% 0.125 258.6)
XYZxyz(25.9539, 25.8844, 67.9053)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CD7 #D7A65B
analogous
#5BCAD7 #5B8CD7 #685BD7
triadic
#5B8CD7 #D75B8C #8CD75B
tetradic
#5B8CD7 #D75BCA #D7A65B #5BD768
square
#5B8CD7 #D75BCA #D7A65B #5BD768
split-complementary
#5B8CD7 #D7685B #CAD75B
monochromatic
#245094 #306BC5 #5B8CD7 #8CAFE3 #BDD1EF

Accessibility & contrast

On white

3.40
#5B8CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5B8CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CD7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CD7#FFFFFF#000000##000000
##5B8CD71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DA
Deuteranopia (green-blind)
#5D86D5
Tritanopia (blue-blind)
#009DA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b8cd7;
/* rgb */ color: rgb(91, 140, 215);
/* oklch */ color: oklch(63.9% 0.125 258.6);
Tailwind
colors: {
  custom: {
    50: '#92ade3',
    500: '#5b8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #5b8cd7;
$custom-light: #92ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8cd7",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 216.29,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.12525,
    "h": 258.6
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

primary
#5B8CD7
secondary
#DFCCAF
accent
#A544E4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5B8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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