#5B8AEF#5B8AEF

#5B8AEF is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.8% C 0.160 H 263.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5B8AEF
RGBrgb(91, 138, 239)
HSLhsl(221, 82%, 65%)
HSVhsv(221, 62%, 94%)
CMYKcmyk(61.9%, 42.3%, 0%, 6.3%)
CIE-LABlab(58.63, 14.84, -55.67)
CIE-LCHlch(58.63, 57.61, 284.92°)
OKLaboklab(64.83% -0.0174 -0.1587)
OKLCHoklch(64.83% 0.16 263.7)
XYZxyz(28.9774, 26.6305, 85.2577)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AEF #EFC05B
analogous
#5BD4EF #5B8AEF #765BEF
triadic
#5B8AEF #EF5B8A #8AEF5B
tetradic
#5B8AEF #EF5BD4 #EFC05B #5BEF76
square
#5B8AEF #EF5BD4 #EFC05B #5BEF76
split-complementary
#5B8AEF #EF765B #D4EF5B
monochromatic
#1249BD #2362EA #5B8AEF #93B2F4 #CBDAFA

Accessibility & contrast

On white

3.32
#5B8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5B8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8AEF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8AEF#FFFFFF#000000##000000
##5B8AEF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#4687ED
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b8aef;
/* rgb */ color: rgb(91, 138, 239);
/* oklch */ color: oklch(64.8% 0.160 263.7);
Tailwind
colors: {
  custom: {
    50: '#96abf5',
    500: '#5b8aef',
    950: '#000000',
  },
}
SCSS
$custom: #5b8aef;
$custom-light: #96abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8aef",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 220.946,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64832,
    "c": 0.15963,
    "h": 263.7
  },
  "luminance": 0.26633
}

Semantic roles & 50–950 ramp

primary
#5B8AEF
secondary
#ECDCBA
accent
#9A07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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