#5D96F9#5D96F9

#5D96F9 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.0% C 0.159 H 260.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5D96F9
RGBrgb(93, 150, 249)
HSLhsl(218, 93%, 67%)
HSVhsv(218, 63%, 98%)
CMYKcmyk(62.7%, 39.8%, 0%, 2.4%)
CIE-LABlab(62.49, 11.38, -55.03)
CIE-LCHlch(62.49, 56.19, 281.68°)
OKLaboklab(68.01% -0.0256 -0.1566)
OKLCHoklch(68.01% 0.159 260.7)
XYZxyz(32.5134, 30.9764, 93.8698)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D96F9 #F9C05D
analogous
#5DE4F9 #5D96F9 #725DF9
triadic
#5D96F9 #F95D96 #96F95D
tetradic
#5D96F9 #F95DE4 #F9C05D #5DF972
square
#5D96F9 #F95DE4 #F9C05D #5DF972
split-complementary
#5D96F9 #F9725D #E4F95D
monochromatic
#0852D4 #2270F7 #5D96F9 #98BCFB #D3E3FD

Accessibility & contrast

On white

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

On black

7.20
#5D96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D96F9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D96F9#FFFFFF#000000##000000
##5D96F91.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d96f9;
/* rgb */ color: rgb(93, 150, 249);
/* oklch */ color: oklch(68.0% 0.159 260.7);
Tailwind
colors: {
  custom: {
    50: '#98b4fc',
    500: '#5d96f9',
    950: '#000000',
  },
}
SCSS
$custom: #5d96f9;
$custom-light: #98b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d96f9",
  "rgb": {
    "r": 93,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 218.077,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.1587,
    "h": 260.7
  },
  "luminance": 0.30979
}

Semantic roles & 50–950 ramp

primary
#5D96F9
secondary
#F2E0C0
accent
#9200E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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