#5D97FB#5D97FB

#5D97FB is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.160 H 260.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5D97FB
RGBrgb(93, 151, 251)
HSLhsl(218, 95%, 67%)
HSVhsv(218, 63%, 98%)
CMYKcmyk(62.9%, 39.8%, 0%, 1.6%)
CIE-LABlab(62.86, 11.45, -55.53)
CIE-LCHlch(62.86, 56.69, 281.65°)
OKLaboklab(68.34% -0.0262 -0.1581)
OKLCHoklch(68.34% 0.16 260.6)
XYZxyz(32.9872, 31.4223, 95.5748)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97FB #FBC15D
analogous
#5DE6FB #5D97FB #725DFB
triadic
#5D97FB #FB5D97 #97FB5D
tetradic
#5D97FB #FB5DE6 #FBC15D #5DFB72
square
#5D97FB #FB5DE6 #FBC15D #5DFB72
split-complementary
#5D97FB #FB725D #E6FB5D
monochromatic
#0553D8 #2171FA #5D97FB #99BDFC #D4E4FE

Accessibility & contrast

On white

2.88
#5D97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5D97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97FB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97FB#FFFFFF#000000##000000
##5D97FB1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d97fb;
/* rgb */ color: rgb(93, 151, 251);
/* oklch */ color: oklch(68.3% 0.160 260.6);
Tailwind
colors: {
  custom: {
    50: '#98b5fd',
    500: '#5d97fb',
    950: '#000000',
  },
}
SCSS
$custom: #5d97fb;
$custom-light: #98b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97fb",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 217.975,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.16023,
    "h": 260.6
  },
  "luminance": 0.31425
}

Semantic roles & 50–950 ramp

primary
#5D97FB
secondary
#F3E0C1
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5D97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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