#5B8AEB#5B8AEB

#5B8AEB is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.6% C 0.154 H 263.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5B8AEB
RGBrgb(91, 138, 235)
HSLhsl(220, 78%, 64%)
HSVhsv(220, 61%, 92%)
CMYKcmyk(61.3%, 41.3%, 0%, 7.8%)
CIE-LABlab(58.41, 13.50, -53.80)
CIE-LCHlch(58.41, 55.47, 284.09°)
OKLaboklab(64.59% -0.0181 -0.1532)
OKLCHoklch(64.59% 0.154 263.2)
XYZxyz(28.3930, 26.3967, 82.1800)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AEB #EBBC5B
analogous
#5BD2EB #5B8AEB #745BEB
triadic
#5B8AEB #EB5B8A #8AEB5B
tetradic
#5B8AEB #EB5BD2 #EBBC5B #5BEB74
square
#5B8AEB #EB5BD2 #EBBC5B #5BEB74
split-complementary
#5B8AEB #EB745B #D2EB5B
monochromatic
#164AB5 #2463E4 #5B8AEB #92B1F2 #C8D8F8

Accessibility & contrast

On white

3.34
#5B8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5B8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8AEB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8AEB#FFFFFF#000000##000000
##5B8AEB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#4A86E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b8aeb;
/* rgb */ color: rgb(91, 138, 235);
/* oklch */ color: oklch(64.6% 0.154 263.2);
Tailwind
colors: {
  custom: {
    50: '#95abf2',
    500: '#5b8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5b8aeb;
$custom-light: #95abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8aeb",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 220.417,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64592,
    "c": 0.15427,
    "h": 263.2
  },
  "luminance": 0.26399
}

Semantic roles & 50–950 ramp

primary
#5B8AEB
secondary
#EADAB8
accent
#970BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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