#5D97F7#5D97F7

#5D97F7 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.1% C 0.155 H 260.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5D97F7
RGBrgb(93, 151, 247)
HSLhsl(217, 91%, 67%)
HSVhsv(217, 62%, 97%)
CMYKcmyk(62.3%, 38.9%, 0%, 3.1%)
CIE-LABlab(62.65, 10.12, -53.67)
CIE-LCHlch(62.65, 54.61, 280.68°)
OKLaboklab(68.1% -0.027 -0.1526)
OKLCHoklch(68.1% 0.155 260)
XYZxyz(32.3634, 31.1728, 92.2891)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97F7 #F7BD5D
analogous
#5DE4F7 #5D97F7 #705DF7
triadic
#5D97F7 #F75D97 #97F75D
tetradic
#5D97F7 #F75DE4 #F7BD5D #5DF770
square
#5D97F7 #F75DE4 #F7BD5D #5DF770
split-complementary
#5D97F7 #F7705D #E4F75D
monochromatic
#0A54CF #2372F4 #5D97F7 #97BCFA #D2E2FD

Accessibility & contrast

On white

2.90
#5D97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5D97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97F7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97F7#FFFFFF#000000##000000
##5D97F71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d97f7;
/* rgb */ color: rgb(93, 151, 247);
/* oklch */ color: oklch(68.1% 0.155 260.0);
Tailwind
colors: {
  custom: {
    50: '#98b5fa',
    500: '#5d97f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d97f7;
$custom-light: #98b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97f7",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 217.403,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.155,
    "h": 260
  },
  "luminance": 0.31176
}

Semantic roles & 50–950 ramp

primary
#5D97F7
secondary
#F1DEBF
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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