#5B97EF#5B97EF

#5B97EF is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.6% C 0.145 H 257.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5B97EF
RGBrgb(91, 151, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 62%, 94%)
CMYKcmyk(61.9%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.16, 7.13, -50.06)
CIE-LCHlch(62.16, 50.57, 278.10°)
OKLaboklab(67.56% -0.0304 -0.1421)
OKLCHoklch(67.56% 0.145 257.9)
XYZxyz(30.9554, 30.5865, 85.9171)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97EF #EFB35B
analogous
#5BE1EF #5B97EF #695BEF
triadic
#5B97EF #EF5B97 #97EF5B
tetradic
#5B97EF #EF5BE1 #EFB35B #5BEF69
square
#5B97EF #EF5BE1 #EFB35B #5BEF69
split-complementary
#5B97EF #EF695B #E1EF5B
monochromatic
#1258BD #2374EA #5B97EF #93BAF4 #CBDEFA

Accessibility & contrast

On white

2.95
#5B97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5B97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97EF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97EF#FFFFFF#000000##000000
##5B97EF1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b97ef;
/* rgb */ color: rgb(91, 151, 239);
/* oklch */ color: oklch(67.6% 0.145 257.9);
Tailwind
colors: {
  custom: {
    50: '#96b5f4',
    500: '#5b97ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b97ef;
$custom-light: #96b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97ef",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 215.676,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67562,
    "c": 0.14532,
    "h": 257.9
  },
  "luminance": 0.30589
}

Semantic roles & 50–950 ramp

primary
#5B97EF
secondary
#ECD8BA
accent
#8707DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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