#5B97EE#5B97EE

#5B97EE is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.144 H 257.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5B97EE
RGBrgb(91, 151, 238)
HSLhsl(216, 81%, 65%)
HSVhsv(216, 62%, 93%)
CMYKcmyk(61.8%, 36.6%, 0%, 6.7%)
CIE-LABlab(62.11, 6.79, -49.59)
CIE-LCHlch(62.11, 50.05, 277.80°)
OKLaboklab(67.51% -0.0307 -0.1407)
OKLCHoklch(67.51% 0.144 257.7)
XYZxyz(30.8081, 30.5276, 85.1412)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97EE #EEB25B
analogous
#5BE1EE #5B97EE #695BEE
triadic
#5B97EE #EE5B97 #97EE5B
tetradic
#5B97EE #EE5BE1 #EEB25B #5BEE69
square
#5B97EE #EE5BE1 #EEB25B #5BEE69
split-complementary
#5B97EE #EE695B #E1EE5B
monochromatic
#1358BB #2474E8 #5B97EE #92BAF4 #CADDF9

Accessibility & contrast

On white

2.96
#5B97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5B97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97EE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97EE#FFFFFF#000000##000000
##5B97EE1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF2
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b97ee;
/* rgb */ color: rgb(91, 151, 238);
/* oklch */ color: oklch(67.5% 0.144 257.7);
Tailwind
colors: {
  custom: {
    50: '#96b5f4',
    500: '#5b97ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b97ee;
$custom-light: #96b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97ee",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 215.51,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67506,
    "c": 0.14402,
    "h": 257.7
  },
  "luminance": 0.3053
}

Semantic roles & 50–950 ramp

primary
#5B97EE
secondary
#ECD7B9
accent
#8608DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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