#5B96FF#5B96FF

#5B96FF is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.3% C 0.167 H 261.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5B96FF
RGBrgb(91, 150, 255)
HSLhsl(218, 100%, 68%)
HSVhsv(218, 64%, 100%)
CMYKcmyk(64.3%, 41.2%, 0%, 0%)
CIE-LABlab(62.72, 13.04, -57.94)
CIE-LCHlch(62.72, 59.39, 282.68°)
OKLaboklab(68.27% -0.0261 -0.1652)
OKLCHoklch(68.27% 0.167 261)
XYZxyz(33.2643, 31.2536, 98.8679)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B96FF #FFC45B
analogous
#5BE8FF #5B96FF #725BFF
triadic
#5B96FF #FF5B96 #96FF5B
tetradic
#5B96FF #FF5BE8 #FFC45B #5BFF72
square
#5B96FF #FF5BE8 #FFC45B #5BFF72
split-complementary
#5B96FF #FF725B #E8FF5B
monochromatic
#0050E0 #1E6FFF #5B96FF #98BDFF #D5E4FF

Accessibility & contrast

On white

2.90
#5B96FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#5B96FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B96FF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B96FF#FFFFFF#000000##000000
##5B96FF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#4C91FD
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5b96ff;
/* rgb */ color: rgb(91, 150, 255);
/* oklch */ color: oklch(68.3% 0.167 261.0);
Tailwind
colors: {
  custom: {
    50: '#98b4ff',
    500: '#5b96ff',
    950: '#000000',
  },
}
SCSS
$custom: #5b96ff;
$custom-light: #98b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b96ff",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 218.415,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.16725,
    "h": 261
  },
  "luminance": 0.31257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B96FF

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

Preview Lab → · Contrast checker → · Palette generator →

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