#5B96FE#5B96FE

#5B96FE is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.2% C 0.166 H 260.9°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5B96FE
RGBrgb(91, 150, 254)
HSLhsl(218, 99%, 68%)
HSVhsv(218, 64%, 100%)
CMYKcmyk(64.2%, 40.9%, 0%, 0.4%)
CIE-LABlab(62.67, 12.71, -57.48)
CIE-LCHlch(62.67, 58.87, 282.47°)
OKLaboklab(68.21% -0.0262 -0.1639)
OKLCHoklch(68.21% 0.166 260.9)
XYZxyz(33.1038, 31.1894, 98.0223)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B96FE #FEC35B
analogous
#5BE8FE #5B96FE #715BFE
triadic
#5B96FE #FE5B96 #96FE5B
tetradic
#5B96FE #FE5BE8 #FEC35B #5BFE71
square
#5B96FE #FE5BE8 #FEC35B #5BFE71
split-complementary
#5B96FE #FE715B #E8FE5B
monochromatic
#0151DD #1E6FFE #5B96FE #98BDFE #D5E4FF

Accessibility & contrast

On white

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

On black

7.24
#5B96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B96FE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B96FE#FFFFFF#000000##000000
##5B96FE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b96fe;
/* rgb */ color: rgb(91, 150, 254);
/* oklch */ color: oklch(68.2% 0.166 260.9);
Tailwind
colors: {
  custom: {
    50: '#98b4ff',
    500: '#5b96fe',
    950: '#000000',
  },
}
SCSS
$custom: #5b96fe;
$custom-light: #98b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b96fe",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 218.282,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68212,
    "c": 0.16595,
    "h": 260.9
  },
  "luminance": 0.31193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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