#5B97F0#5B97F0

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

Color values

HEX#5B97F0
RGBrgb(91, 151, 240)
HSLhsl(216, 83%, 65%)
HSVhsv(216, 62%, 94%)
CMYKcmyk(62.1%, 37.1%, 0%, 5.9%)
CIE-LABlab(62.21, 7.46, -50.53)
CIE-LCHlch(62.21, 51.08, 278.39°)
OKLaboklab(67.62% -0.0302 -0.1435)
OKLCHoklch(67.62% 0.147 258.1)
XYZxyz(31.1036, 30.6457, 86.6973)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B97F0 #F0B45B
analogous
#5BE1F0 #5B97F0 #6A5BF0
triadic
#5B97F0 #F05B97 #97F05B
tetradic
#5B97F0 #F05BE1 #F0B45B #5BF06A
square
#5B97F0 #F05BE1 #F0B45B #5BF06A
split-complementary
#5B97F0 #F06A5B #E1F05B
monochromatic
#1157BF #2373EB #5B97F0 #93BBF5 #CBDEFA

Accessibility & contrast

On white

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

On black

7.13
#5B97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B97F0
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B97F0#FFFFFF#000000##000000
##5B97F01.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b97f0;
/* rgb */ color: rgb(91, 151, 240);
/* oklch */ color: oklch(67.6% 0.147 258.1);
Tailwind
colors: {
  custom: {
    50: '#96b5f5',
    500: '#5b97f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b97f0;
$custom-light: #96b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b97f0",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 215.839,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67618,
    "c": 0.14662,
    "h": 258.1
  },
  "luminance": 0.30649
}

Semantic roles & 50–950 ramp

primary
#5B97F0
secondary
#EDD8BA
accent
#8806E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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