#5B96F7#5B96F7

#5B96F7 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.8% C 0.157 H 259.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5B96F7
RGBrgb(91, 150, 247)
HSLhsl(217, 91%, 66%)
HSVhsv(217, 63%, 97%)
CMYKcmyk(63.2%, 39.3%, 0%, 3.1%)
CIE-LABlab(62.30, 10.37, -54.24)
CIE-LCHlch(62.30, 55.22, 280.82°)
OKLaboklab(67.8% -0.0277 -0.1543)
OKLCHoklch(67.8% 0.157 259.8)
XYZxyz(32.0033, 30.7492, 92.2263)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B96F7 #F7BC5B
analogous
#5BE4F7 #5B96F7 #6E5BF7
triadic
#5B96F7 #F75B96 #96F75B
tetradic
#5B96F7 #F75BE4 #F7BC5B #5BF76E
square
#5B96F7 #F75BE4 #F7BC5B #5BF76E
split-complementary
#5B96F7 #F76E5B #E4F75B
monochromatic
#0A54CE #2171F4 #5B96F7 #95BBFA #D0E1FD

Accessibility & contrast

On white

2.94
#5B96F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5B96F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B96F7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B96F7#FFFFFF#000000##000000
##5B96F71.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5b96f7;
/* rgb */ color: rgb(91, 150, 247);
/* oklch */ color: oklch(67.8% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#97b4fa',
    500: '#5b96f7',
    950: '#000000',
  },
}
SCSS
$custom: #5b96f7;
$custom-light: #97b4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b96f7",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 217.308,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67803,
    "c": 0.15681,
    "h": 259.8
  },
  "luminance": 0.30752
}

Semantic roles & 50–950 ramp

primary
#5B96F7
secondary
#F0DDBD
accent
#8F00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B96F7

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

Preview Lab → · Contrast checker → · Palette generator →

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