#5D96FB#5D96FB

#5D96FB is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.1% C 0.161 H 261.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5D96FB
RGBrgb(93, 150, 251)
HSLhsl(218, 95%, 67%)
HSVhsv(218, 63%, 98%)
CMYKcmyk(62.9%, 40.2%, 0%, 1.6%)
CIE-LABlab(62.59, 12.04, -55.95)
CIE-LCHlch(62.59, 57.23, 282.15°)
OKLaboklab(68.13% -0.0252 -0.1593)
OKLCHoklch(68.13% 0.161 261)
XYZxyz(32.8270, 31.1018, 95.5214)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D96FB #FBC25D
analogous
#5DE5FB #5D96FB #735DFB
triadic
#5D96FB #FB5D96 #96FB5D
tetradic
#5D96FB #FB5DE5 #FBC25D #5DFB73
square
#5D96FB #FB5DE5 #FBC25D #5DFB73
split-complementary
#5D96FB #FB735D #E5FB5D
monochromatic
#0551D8 #216FFA #5D96FB #99BDFC #D4E3FE

Accessibility & contrast

On white

2.91
#5D96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5D96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D96FB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D96FB#FFFFFF#000000##000000
##5D96FB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFF
Deuteranopia (green-blind)
#5191F9
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d96fb;
/* rgb */ color: rgb(93, 150, 251);
/* oklch */ color: oklch(68.1% 0.161 261.0);
Tailwind
colors: {
  custom: {
    50: '#98b4fd',
    500: '#5d96fb',
    950: '#000000',
  },
}
SCSS
$custom: #5d96fb;
$custom-light: #98b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d96fb",
  "rgb": {
    "r": 93,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 218.354,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68126,
    "c": 0.16133,
    "h": 261
  },
  "luminance": 0.31105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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