#5B8DE5#5B8DE5

#5B8DE5 is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.9% C 0.143 H 261.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5B8DE5
RGBrgb(91, 141, 229)
HSLhsl(218, 73%, 63%)
HSVhsv(218, 60%, 90%)
CMYKcmyk(60.3%, 38.4%, 0%, 10.2%)
CIE-LABlab(58.91, 9.72, -49.68)
CIE-LCHlch(58.91, 50.62, 281.07°)
OKLaboklab(64.87% -0.0224 -0.1411)
OKLCHoklch(64.87% 0.143 261)
XYZxyz(27.9772, 26.9286, 77.8369)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8DE5 #E5B35B
analogous
#5BD2E5 #5B8DE5 #6E5BE5
triadic
#5B8DE5 #E55B8D #8DE55B
tetradic
#5B8DE5 #E55BD2 #E5B35B #5BE56E
square
#5B8DE5 #E55BD2 #E5B35B #5BE56E
split-complementary
#5B8DE5 #E56E5B #D2E55B
monochromatic
#1B4FAB #2668DD #5B8DE5 #90B2ED #C5D6F6

Accessibility & contrast

On white

3.29
#5B8DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5B8DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8DE5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8DE5#FFFFFF#000000##000000
##5B8DE51.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795E9
Deuteranopia (green-blind)
#5488E3
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b8de5;
/* rgb */ color: rgb(91, 141, 229);
/* oklch */ color: oklch(64.9% 0.143 261.0);
Tailwind
colors: {
  custom: {
    50: '#94aded',
    500: '#5b8de5',
    950: '#000000',
  },
}
SCSS
$custom: #5b8de5;
$custom-light: #94aded;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8de5",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 229
  },
  "hsl": {
    "h": 218.261,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.14286,
    "h": 261
  },
  "luminance": 0.26931
}

Semantic roles & 50–950 ramp

primary
#5B8DE5
secondary
#E7D5B5
accent
#8E11D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B8DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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