#5B8AEE#5B8AEE

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

Color values

HEX#5B8AEE
RGBrgb(91, 138, 238)
HSLhsl(221, 81%, 65%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(61.8%, 42%, 0%, 6.7%)
CIE-LABlab(58.58, 14.50, -55.20)
CIE-LCHlch(58.58, 57.07, 284.72°)
OKLaboklab(64.77% -0.0176 -0.1573)
OKLCHoklch(64.77% 0.158 263.6)
XYZxyz(28.8301, 26.5716, 84.4819)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8AEE #EEBF5B
analogous
#5BD4EE #5B8AEE #765BEE
triadic
#5B8AEE #EE5B8A #8AEE5B
tetradic
#5B8AEE #EE5BD4 #EEBF5B #5BEE76
square
#5B8AEE #EE5BD4 #EEBF5B #5BEE76
split-complementary
#5B8AEE #EE765B #D4EE5B
monochromatic
#1349BB #2462E8 #5B8AEE #92B2F4 #CAD9F9

Accessibility & contrast

On white

3.33
#5B8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5B8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8AEE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8AEE#FFFFFF#000000##000000
##5B8AEE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b8aee;
/* rgb */ color: rgb(91, 138, 238);
/* oklch */ color: oklch(64.8% 0.158 263.6);
Tailwind
colors: {
  custom: {
    50: '#96abf4',
    500: '#5b8aee',
    950: '#000000',
  },
}
SCSS
$custom: #5b8aee;
$custom-light: #96abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8aee",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 220.816,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64771,
    "c": 0.15829,
    "h": 263.6
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#5B8AEE
secondary
#ECDCB9
accent
#9908DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5B8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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