#5B97ED#5B97ED

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

Color values

HEX#5B97ED
RGBrgb(91, 151, 237)
HSLhsl(215, 80%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(61.6%, 36.3%, 0%, 7.1%)
CIE-LABlab(62.06, 6.47, -49.12)
CIE-LCHlch(62.06, 49.54, 277.50°)
OKLaboklab(67.45% -0.0309 -0.1393)
OKLCHoklch(67.45% 0.143 257.5)
XYZxyz(30.6616, 30.4690, 84.3696)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97ED #EDB15B
analogous
#5BE0ED #5B97ED #685BED
triadic
#5B97ED #ED5B97 #97ED5B
tetradic
#5B97ED #ED5BE0 #EDB15B #5BED68
square
#5B97ED #ED5BE0 #EDB15B #5BED68
split-complementary
#5B97ED #ED685B #E0ED5B
monochromatic
#1458B9 #2474E7 #5B97ED #92BAF3 #C9DDF9

Accessibility & contrast

On white

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

On black

7.09
#5B97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97ED
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97ED#FFFFFF#000000##000000
##5B97ED1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF1
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b97ed;
/* rgb */ color: rgb(91, 151, 237);
/* oklch */ color: oklch(67.5% 0.143 257.5);
Tailwind
colors: {
  custom: {
    50: '#95b5f3',
    500: '#5b97ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b97ed;
$custom-light: #95b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97ed",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 215.342,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67451,
    "c": 0.14272,
    "h": 257.5
  },
  "luminance": 0.30472
}

Semantic roles & 50–950 ramp

primary
#5B97ED
secondary
#EBD6B9
accent
#8609DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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