#5B96EF#5B96EF

#5B96EF is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.3% C 0.146 H 258.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5B96EF
RGBrgb(91, 150, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 62%, 94%)
CMYKcmyk(61.9%, 37.2%, 0%, 6.3%)
CIE-LABlab(61.88, 7.71, -50.50)
CIE-LCHlch(61.88, 51.08, 278.68°)
OKLaboklab(67.35% -0.0294 -0.1434)
OKLCHoklch(67.35% 0.146 258.4)
XYZxyz(30.7952, 30.2660, 85.8637)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B96EF #EFB45B
analogous
#5BE0EF #5B96EF #6A5BEF
triadic
#5B96EF #EF5B96 #96EF5B
tetradic
#5B96EF #EF5BE0 #EFB45B #5BEF6A
square
#5B96EF #EF5BE0 #EFB45B #5BEF6A
split-complementary
#5B96EF #EF6A5B #E0EF5B
monochromatic
#1257BD #2372EA #5B96EF #93BAF4 #CBDDFA

Accessibility & contrast

On white

2.98
#5B96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5B96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B96EF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B96EF#FFFFFF#000000##000000
##5B96EF1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b96ef;
/* rgb */ color: rgb(91, 150, 239);
/* oklch */ color: oklch(67.3% 0.146 258.4);
Tailwind
colors: {
  custom: {
    50: '#96b4f4',
    500: '#5b96ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b96ef;
$custom-light: #96b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b96ef",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 216.081,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67349,
    "c": 0.14637,
    "h": 258.4
  },
  "luminance": 0.30269
}

Semantic roles & 50–950 ramp

primary
#5B96EF
secondary
#ECD8BA
accent
#8907DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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