#5B8DF5#5B8DF5

#5B8DF5 is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.8% C 0.164 H 263.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5B8DF5
RGBrgb(91, 141, 245)
HSLhsl(221, 89%, 66%)
HSVhsv(221, 63%, 96%)
CMYKcmyk(62.9%, 42.4%, 0%, 3.9%)
CIE-LABlab(59.77, 15.04, -57.17)
CIE-LCHlch(59.77, 59.12, 284.74°)
OKLaboklab(65.81% -0.0193 -0.1631)
OKLCHoklch(65.81% 0.164 263.3)
XYZxyz(30.3149, 27.8637, 90.1491)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8DF5 #F5C35B
analogous
#5BDAF5 #5B8DF5 #765BF5
triadic
#5B8DF5 #F55B8D #8DF55B
tetradic
#5B8DF5 #F55BDA #F5C35B #5BF576
square
#5B8DF5 #F55BDA #F5C35B #5BF576
split-complementary
#5B8DF5 #F5765B #DAF55B
monochromatic
#0C4AC9 #2165F1 #5B8DF5 #95B5F9 #CEDDFC

Accessibility & contrast

On white

3.19
#5B8DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5B8DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8DF5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8DF5#FFFFFF#000000##000000
##5B8DF51.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#4589F3
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5b8df5;
/* rgb */ color: rgb(91, 141, 245);
/* oklch */ color: oklch(65.8% 0.164 263.3);
Tailwind
colors: {
  custom: {
    50: '#97adf9',
    500: '#5b8df5',
    950: '#000000',
  },
}
SCSS
$custom: #5b8df5;
$custom-light: #97adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8df5",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 220.519,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65813,
    "c": 0.16419,
    "h": 263.3
  },
  "luminance": 0.27866
}

Semantic roles & 50–950 ramp

primary
#5B8DF5
secondary
#EFDFBC
accent
#9B00E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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