#5B8CD5#5B8CD5

#5B8CD5 is a light, vivid blue. Relative luminance 0.258; OKLCH L 63.8% C 0.123 H 258.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5B8CD5
RGBrgb(91, 140, 213)
HSLhsl(216, 59%, 60%)
HSVhsv(216, 57%, 84%)
CMYKcmyk(57.3%, 34.3%, 0%, 16.5%)
CIE-LABlab(57.83, 5.08, -42.45)
CIE-LCHlch(57.83, 42.75, 276.83°)
OKLaboklab(63.77% -0.0252 -0.12)
OKLCHoklch(63.77% 0.123 258.2)
XYZxyz(25.6985, 25.7823, 66.5601)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8CD5 #D5A45B
analogous
#5BC9D5 #5B8CD5 #675BD5
triadic
#5B8CD5 #D55B8C #8CD55B
tetradic
#5B8CD5 #D55BC9 #D5A45B #5BD567
square
#5B8CD5 #D55BC9 #D5A45B #5BD567
split-complementary
#5B8CD5 #D5675B #C9D55B
monochromatic
#255091 #326BC1 #5B8CD5 #8CAEE1 #BCD0EE

Accessibility & contrast

On white

3.41
#5B8CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5B8CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8CD5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8CD5#FFFFFF#000000##000000
##5B8CD51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D8
Deuteranopia (green-blind)
#5E86D3
Tritanopia (blue-blind)
#009CA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b8cd5;
/* rgb */ color: rgb(91, 140, 213);
/* oklch */ color: oklch(63.8% 0.123 258.2);
Tailwind
colors: {
  custom: {
    50: '#92ade2',
    500: '#5b8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5b8cd5;
$custom-light: #92ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8cd5",
  "rgb": {
    "r": 91,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 215.902,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63772,
    "c": 0.12258,
    "h": 258.2
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#5B8CD5
secondary
#DECBAE
accent
#A345E2
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5B8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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