#5B97FE#5B97FE

#5B97FE is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.4% C 0.165 H 260.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5B97FE
RGBrgb(91, 151, 254)
HSLhsl(218, 99%, 68%)
HSVhsv(218, 64%, 100%)
CMYKcmyk(64.2%, 40.6%, 0%, 0.4%)
CIE-LABlab(62.94, 12.12, -57.05)
CIE-LCHlch(62.94, 58.33, 281.99°)
OKLaboklab(68.42% -0.0272 -0.1626)
OKLCHoklch(68.42% 0.165 260.5)
XYZxyz(33.2640, 31.5099, 98.0757)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97FE #FEC25B
analogous
#5BE9FE #5B97FE #705BFE
triadic
#5B97FE #FE5B97 #97FE5B
tetradic
#5B97FE #FE5BE9 #FEC25B #5BFE70
square
#5B97FE #FE5BE9 #FEC25B #5BFE70
split-complementary
#5B97FE #FE705B #E9FE5B
monochromatic
#0152DD #1E70FE #5B97FE #98BEFE #D5E4FF

Accessibility & contrast

On white

2.88
#5B97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5B97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97FE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97FE#FFFFFF#000000##000000
##5B97FE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#4F91FC
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5b97fe;
/* rgb */ color: rgb(91, 151, 254);
/* oklch */ color: oklch(68.4% 0.165 260.5);
Tailwind
colors: {
  custom: {
    50: '#98b5ff',
    500: '#5b97fe',
    950: '#000000',
  },
}
SCSS
$custom: #5b97fe;
$custom-light: #98b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97fe",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 217.914,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6842,
    "c": 0.16485,
    "h": 260.5
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#5B97FE
secondary
#F4E1C1
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5B97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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