#5B96F2#5B96F2

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

Color values

HEX#5B96F2
RGBrgb(91, 150, 242)
HSLhsl(217, 85%, 65%)
HSVhsv(217, 62%, 95%)
CMYKcmyk(62.4%, 38%, 0%, 5.1%)
CIE-LABlab(62.04, 8.71, -51.90)
CIE-LCHlch(62.04, 52.63, 279.52°)
OKLaboklab(67.52% -0.0287 -0.1475)
OKLCHoklch(67.52% 0.15 259)
XYZxyz(31.2421, 30.4447, 88.2172)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B96F2 #F2B75B
analogous
#5BE2F2 #5B96F2 #6B5BF2
triadic
#5B96F2 #F25B96 #96F25B
tetradic
#5B96F2 #F25BE2 #F2B75B #5BF26B
square
#5B96F2 #F25BE2 #F2B75B #5BF26B
split-complementary
#5B96F2 #F26B5B #E2F25B
monochromatic
#0F56C3 #2272EE #5B96F2 #94BAF6 #CCDFFB

Accessibility & contrast

On white

2.96
#5B96F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5B96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B96F2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B96F2#FFFFFF#000000##000000
##5B96F21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5b96f2;
/* rgb */ color: rgb(91, 150, 242);
/* oklch */ color: oklch(67.5% 0.150 259.0);
Tailwind
colors: {
  custom: {
    50: '#96b4f7',
    500: '#5b96f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b96f2;
$custom-light: #96b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b96f2",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 216.556,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.15027,
    "h": 259
  },
  "luminance": 0.30448
}

Semantic roles & 50–950 ramp

primary
#5B96F2
secondary
#EEDABB
accent
#8B04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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