#5D96F8#5D96F8

#5D96F8 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.0% C 0.157 H 260.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5D96F8
RGBrgb(93, 150, 248)
HSLhsl(218, 92%, 67%)
HSVhsv(218, 63%, 97%)
CMYKcmyk(62.5%, 39.5%, 0%, 2.7%)
CIE-LABlab(62.44, 11.04, -54.56)
CIE-LCHlch(62.44, 55.67, 281.44°)
OKLaboklab(67.95% -0.0258 -0.1553)
OKLCHoklch(67.95% 0.157 260.6)
XYZxyz(32.3578, 30.9142, 93.0505)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D96F8 #F8BF5D
analogous
#5DE4F8 #5D96F8 #715DF8
triadic
#5D96F8 #F85D96 #96F85D
tetradic
#5D96F8 #F85DE4 #F8BF5D #5DF871
square
#5D96F8 #F85DE4 #F8BF5D #5DF871
split-complementary
#5D96F8 #F8715D #E4F85D
monochromatic
#0953D2 #2270F5 #5D96F8 #98BCFB #D2E2FD

Accessibility & contrast

On white

2.92
#5D96F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5D96F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D96F8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D96F8#FFFFFF#000000##000000
##5D96F81.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d96f8;
/* rgb */ color: rgb(93, 150, 248);
/* oklch */ color: oklch(68.0% 0.157 260.6);
Tailwind
colors: {
  custom: {
    50: '#98b4fb',
    500: '#5d96f8',
    950: '#000000',
  },
}
SCSS
$custom: #5d96f8;
$custom-light: #98b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d96f8",
  "rgb": {
    "r": 93,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 217.935,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67952,
    "c": 0.1574,
    "h": 260.6
  },
  "luminance": 0.30917
}

Semantic roles & 50–950 ramp

primary
#5D96F8
secondary
#F1DFC0
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D96F8

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

Preview Lab → · Contrast checker → · Palette generator →

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