#5B8FE5#5B8FE5

#5B8FE5 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.3% C 0.141 H 260.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5B8FE5
RGBrgb(91, 143, 229)
HSLhsl(217, 73%, 63%)
HSVhsv(217, 60%, 90%)
CMYKcmyk(60.3%, 37.6%, 0%, 10.2%)
CIE-LABlab(59.46, 8.54, -48.81)
CIE-LCHlch(59.46, 49.55, 279.92°)
OKLaboklab(65.3% -0.0245 -0.1385)
OKLCHoklch(65.3% 0.141 260)
XYZxyz(28.2747, 27.5237, 77.9361)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FE5 #E5B15B
analogous
#5BD4E5 #5B8FE5 #6C5BE5
triadic
#5B8FE5 #E55B8F #8FE55B
tetradic
#5B8FE5 #E55BD4 #E5B15B #5BE56C
square
#5B8FE5 #E55BD4 #E5B15B #5BE56C
split-complementary
#5B8FE5 #E56C5B #D4E55B
monochromatic
#1B51AB #266BDD #5B8FE5 #90B3ED #C5D7F6

Accessibility & contrast

On white

3.23
#5B8FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5B8FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FE5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FE5#FFFFFF#000000##000000
##5B8FE51.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E8
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#00A2AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8fe5;
/* rgb */ color: rgb(91, 143, 229);
/* oklch */ color: oklch(65.3% 0.141 260.0);
Tailwind
colors: {
  custom: {
    50: '#94afed',
    500: '#5b8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5b8fe5;
$custom-light: #94afed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8fe5",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 217.391,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65297,
    "c": 0.14067,
    "h": 260
  },
  "luminance": 0.27526
}

Semantic roles & 50–950 ramp

primary
#5B8FE5
secondary
#E7D4B5
accent
#8B11D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5B8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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