#5B8EF5#5B8EF5

#5B8EF5 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.0% C 0.163 H 262.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5B8EF5
RGBrgb(91, 142, 245)
HSLhsl(220, 89%, 66%)
HSVhsv(220, 63%, 96%)
CMYKcmyk(62.9%, 42%, 0%, 3.9%)
CIE-LABlab(60.03, 14.45, -56.74)
CIE-LCHlch(60.03, 58.55, 284.28°)
OKLaboklab(66.02% -0.0202 -0.1618)
OKLCHoklch(66.02% 0.163 262.9)
XYZxyz(30.4631, 28.1599, 90.1985)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8EF5 #F5C25B
analogous
#5BDBF5 #5B8EF5 #755BF5
triadic
#5B8EF5 #F55B8E #8EF55B
tetradic
#5B8EF5 #F55BDB #F5C25B #5BF575
square
#5B8EF5 #F55BDB #F5C25B #5BF575
split-complementary
#5B8EF5 #F5755B #DBF55B
monochromatic
#0C4BC9 #2166F1 #5B8EF5 #95B6F9 #CEDDFC

Accessibility & contrast

On white

3.17
#5B8EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5B8EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8EF5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8EF5#FFFFFF#000000##000000
##5B8EF51.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F9
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b8ef5;
/* rgb */ color: rgb(91, 142, 245);
/* oklch */ color: oklch(66.0% 0.163 262.9);
Tailwind
colors: {
  custom: {
    50: '#97aef9',
    500: '#5b8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #5b8ef5;
$custom-light: #97aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8ef5",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 220.13,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66019,
    "c": 0.16305,
    "h": 262.9
  },
  "luminance": 0.28163
}

Semantic roles & 50–950 ramp

primary
#5B8EF5
secondary
#EFDEBC
accent
#9900E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5B8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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