#5D97F8#5D97F8

#5D97F8 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.2% C 0.156 H 260.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5D97F8
RGBrgb(93, 151, 248)
HSLhsl(218, 92%, 67%)
HSVhsv(218, 63%, 97%)
CMYKcmyk(62.5%, 39.1%, 0%, 2.7%)
CIE-LABlab(62.71, 10.46, -54.13)
CIE-LCHlch(62.71, 55.13, 280.93°)
OKLaboklab(68.16% -0.0268 -0.154)
OKLCHoklch(68.16% 0.156 260.1)
XYZxyz(32.5181, 31.2347, 93.1039)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D97F8 #F8BE5D
analogous
#5DE5F8 #5D97F8 #715DF8
triadic
#5D97F8 #F85D97 #97F85D
tetradic
#5D97F8 #F85DE5 #F8BE5D #5DF871
square
#5D97F8 #F85DE5 #F8BE5D #5DF871
split-complementary
#5D97F8 #F8715D #E5F85D
monochromatic
#0954D2 #2271F5 #5D97F8 #98BDFB #D2E2FD

Accessibility & contrast

On white

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

On black

7.25
#5D97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D97F8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D97F8#FFFFFF#000000##000000
##5D97F81.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5d97f8;
/* rgb */ color: rgb(93, 151, 248);
/* oklch */ color: oklch(68.2% 0.156 260.1);
Tailwind
colors: {
  custom: {
    50: '#98b5fb',
    500: '#5d97f8',
    950: '#000000',
  },
}
SCSS
$custom: #5d97f8;
$custom-light: #98b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d97f8",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 217.548,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.1563,
    "h": 260.1
  },
  "luminance": 0.31238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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