#5B96F1#5B96F1

#5B96F1 is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.5% C 0.149 H 258.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5B96F1
RGBrgb(91, 150, 241)
HSLhsl(216, 84%, 65%)
HSVhsv(216, 62%, 95%)
CMYKcmyk(62.2%, 37.8%, 0%, 5.5%)
CIE-LABlab(61.98, 8.37, -51.44)
CIE-LCHlch(61.98, 52.11, 279.25°)
OKLaboklab(67.46% -0.029 -0.1461)
OKLCHoklch(67.46% 0.149 258.8)
XYZxyz(31.0923, 30.3848, 87.4283)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B96F1 #F1B65B
analogous
#5BE1F1 #5B96F1 #6B5BF1
triadic
#5B96F1 #F15B96 #96F15B
tetradic
#5B96F1 #F15BE1 #F1B65B #5BF16B
square
#5B96F1 #F15BE1 #F1B65B #5BF16B
split-complementary
#5B96F1 #F16B5B #E1F15B
monochromatic
#1056C1 #2372EC #5B96F1 #93BAF6 #CCDEFB

Accessibility & contrast

On white

2.97
#5B96F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5B96F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B96F1
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B96F1#FFFFFF#000000##000000
##5B96F11.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF5
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b96f1;
/* rgb */ color: rgb(91, 150, 241);
/* oklch */ color: oklch(67.5% 0.149 258.8);
Tailwind
colors: {
  custom: {
    50: '#96b4f6',
    500: '#5b96f1',
    950: '#000000',
  },
}
SCSS
$custom: #5b96f1;
$custom-light: #96b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b96f1",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 241
  },
  "hsl": {
    "h": 216.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67461,
    "c": 0.14897,
    "h": 258.8
  },
  "luminance": 0.30388
}

Semantic roles & 50–950 ramp

primary
#5B96F1
secondary
#EDD9BA
accent
#8A05E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B96F1

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

Preview Lab → · Contrast checker → · Palette generator →

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