#5B8AFF#5B8AFF

#5B8AFF is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.8% C 0.181 H 265.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5B8AFF
RGBrgb(91, 138, 255)
HSLhsl(223, 100%, 68%)
HSVhsv(223, 64%, 100%)
CMYKcmyk(64.3%, 45.9%, 0%, 0%)
CIE-LABlab(59.54, 20.21, -63.03)
CIE-LCHlch(59.54, 66.19, 287.77°)
OKLaboklab(65.83% -0.0148 -0.1803)
OKLCHoklch(65.83% 0.181 265.3)
XYZxyz(31.4466, 27.6182, 98.2620)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AFF #FFD05B
analogous
#5BDCFF #5B8AFF #7E5BFF
triadic
#5B8AFF #FF5B8A #8AFF5B
tetradic
#5B8AFF #FF5BDC #FFD05B #5BFF7E
square
#5B8AFF #FF5BDC #FFD05B #5BFF7E
split-complementary
#5B8AFF #FF7E5B #DCFF5B
monochromatic
#0040E0 #1E5EFF #5B8AFF #98B6FF #D5E1FF

Accessibility & contrast

On white

3.22
#5B8AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5B8AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8AFF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8AFF#FFFFFF#000000##000000
##5B8AFF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#3088FD
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5b8aff;
/* rgb */ color: rgb(91, 138, 255);
/* oklch */ color: oklch(65.8% 0.181 265.3);
Tailwind
colors: {
  custom: {
    50: '#98abff',
    500: '#5b8aff',
    950: '#000000',
  },
}
SCSS
$custom: #5b8aff;
$custom-light: #98abff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8aff",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 222.805,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65826,
    "c": 0.18092,
    "h": 265.3
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#5B8AFF
secondary
#F4E6C2
accent
#A400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5B8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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