#5B97EB#5B97EB

#5B97EB is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.3% C 0.140 H 257.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5B97EB
RGBrgb(91, 151, 235)
HSLhsl(215, 78%, 64%)
HSVhsv(215, 61%, 92%)
CMYKcmyk(61.3%, 35.7%, 0%, 7.8%)
CIE-LABlab(61.96, 5.81, -48.17)
CIE-LCHlch(61.96, 48.52, 276.87°)
OKLaboklab(67.34% -0.0314 -0.1366)
OKLCHoklch(67.34% 0.14 257.1)
XYZxyz(30.3710, 30.3527, 82.8393)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97EB #EBAF5B
analogous
#5BDFEB #5B97EB #675BEB
triadic
#5B97EB #EB5B97 #97EB5B
tetradic
#5B97EB #EB5BDF #EBAF5B #5BEB67
square
#5B97EB #EB5BDF #EBAF5B #5BEB67
split-complementary
#5B97EB #EB675B #DFEB5B
monochromatic
#1659B5 #2474E4 #5B97EB #92BAF2 #C8DCF8

Accessibility & contrast

On white

2.97
#5B97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#5B97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97EB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97EB#FFFFFF#000000##000000
##5B97EB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#5F90E9
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b97eb;
/* rgb */ color: rgb(91, 151, 235);
/* oklch */ color: oklch(67.3% 0.140 257.1);
Tailwind
colors: {
  custom: {
    50: '#95b5f2',
    500: '#5b97eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b97eb;
$custom-light: #95b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97eb",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 215,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67341,
    "c": 0.14014,
    "h": 257.1
  },
  "luminance": 0.30356
}

Semantic roles & 50–950 ramp

primary
#5B97EB
secondary
#EAD5B8
accent
#840BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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