#5B8DFF#5B8DFF

#5B8DFF is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.4% C 0.177 H 264.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5B8DFF
RGBrgb(91, 141, 255)
HSLhsl(222, 100%, 68%)
HSVhsv(222, 64%, 100%)
CMYKcmyk(64.3%, 44.7%, 0%, 0%)
CIE-LABlab(60.33, 18.40, -61.77)
CIE-LCHlch(60.33, 64.45, 286.59°)
OKLaboklab(66.43% -0.0176 -0.1766)
OKLCHoklch(66.43% 0.177 264.3)
XYZxyz(31.8830, 28.4909, 98.4074)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8DFF #FFCD5B
analogous
#5BDFFF #5B8DFF #7B5BFF
triadic
#5B8DFF #FF5B8D #8DFF5B
tetradic
#5B8DFF #FF5BDF #FFCD5B #5BFF7B
square
#5B8DFF #FF5BDF #FFCD5B #5BFF7B
split-complementary
#5B8DFF #FF7B5B #DFFF5B
monochromatic
#0044E0 #1E62FF #5B8DFF #98B8FF #D5E2FF

Accessibility & contrast

On white

3.13
#5B8DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5B8DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8DFF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8DFF#FFFFFF#000000##000000
##5B8DFF1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#388AFD
Tritanopia (blue-blind)
#00A7BA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5b8dff;
/* rgb */ color: rgb(91, 141, 255);
/* oklch */ color: oklch(66.4% 0.177 264.3);
Tailwind
colors: {
  custom: {
    50: '#98adff',
    500: '#5b8dff',
    950: '#000000',
  },
}
SCSS
$custom: #5b8dff;
$custom-light: #98adff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8dff",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 221.707,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66429,
    "c": 0.17744,
    "h": 264.3
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

primary
#5B8DFF
secondary
#F4E5C2
accent
#A000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5B8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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