#5D96F1#5D96F1

#5D96F1 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.6% C 0.148 H 259.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5D96F1
RGBrgb(93, 150, 241)
HSLhsl(217, 84%, 65%)
HSVhsv(217, 61%, 95%)
CMYKcmyk(61.4%, 37.8%, 0%, 5.5%)
CIE-LABlab(62.07, 8.73, -51.29)
CIE-LCHlch(62.07, 52.03, 279.66°)
OKLaboklab(67.55% -0.0273 -0.1457)
OKLCHoklch(67.55% 0.148 259.4)
XYZxyz(31.2921, 30.4879, 87.4377)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D96F1 #F1B85D
analogous
#5DE0F1 #5D96F1 #6E5DF1
triadic
#5D96F1 #F15D96 #96F15D
tetradic
#5D96F1 #F15DE0 #F1B85D #5DF16E
square
#5D96F1 #F15DE0 #F1B85D #5DF16E
split-complementary
#5D96F1 #F16E5D #E0F15D
monochromatic
#1155C3 #2571EC #5D96F1 #95BBF6 #CEDFFB

Accessibility & contrast

On white

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

On black

7.10
#5D96F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D96F1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D96F1#FFFFFF#000000##000000
##5D96F11.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF5
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5d96f1;
/* rgb */ color: rgb(93, 150, 241);
/* oklch */ color: oklch(67.6% 0.148 259.4);
Tailwind
colors: {
  custom: {
    50: '#97b4f6',
    500: '#5d96f1',
    950: '#000000',
  },
}
SCSS
$custom: #5d96f1;
$custom-light: #97b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d96f1",
  "rgb": {
    "r": 93,
    "g": 150,
    "b": 241
  },
  "hsl": {
    "h": 216.892,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67554,
    "c": 0.14821,
    "h": 259.4
  },
  "luminance": 0.30491
}

Semantic roles & 50–950 ramp

primary
#5D96F1
secondary
#EEDBBC
accent
#8C05E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D96F1

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

Preview Lab → · Contrast checker → · Palette generator →

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