#5B97FF#5B97FF

#5B97FF is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.5% C 0.166 H 260.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5B97FF
RGBrgb(91, 151, 255)
HSLhsl(218, 100%, 68%)
HSVhsv(218, 64%, 100%)
CMYKcmyk(64.3%, 40.8%, 0%, 0%)
CIE-LABlab(62.99, 12.45, -57.52)
CIE-LCHlch(62.99, 58.85, 282.22°)
OKLaboklab(68.48% -0.027 -0.1639)
OKLCHoklch(68.48% 0.166 260.6)
XYZxyz(33.4246, 31.5741, 98.9213)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97FF #FFC35B
analogous
#5BE9FF #5B97FF #715BFF
triadic
#5B97FF #FF5B97 #97FF5B
tetradic
#5B97FF #FF5BE9 #FFC35B #5BFF71
square
#5B97FF #FF5BE9 #FFC35B #5BFF71
split-complementary
#5B97FF #FF715B #E9FF5B
monochromatic
#0052E0 #1E70FF #5B97FF #98BEFF #D5E5FF

Accessibility & contrast

On white

2.87
#5B97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#5B97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97FF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97FF#FFFFFF#000000##000000
##5B97FF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A1FF
Deuteranopia (green-blind)
#4E91FD
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5b97ff;
/* rgb */ color: rgb(91, 151, 255);
/* oklch */ color: oklch(68.5% 0.166 260.6);
Tailwind
colors: {
  custom: {
    50: '#98b5ff',
    500: '#5b97ff',
    950: '#000000',
  },
}
SCSS
$custom: #5b97ff;
$custom-light: #98b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97ff",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 218.049,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68478,
    "c": 0.16615,
    "h": 260.6
  },
  "luminance": 0.31577
}

Semantic roles & 50–950 ramp

primary
#5B97FF
secondary
#F4E2C2
accent
#9200E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5B97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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