#5C97F8#5C97F8

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

Color values

HEX#5C97F8
RGBrgb(92, 151, 248)
HSLhsl(217, 92%, 67%)
HSVhsv(217, 63%, 97%)
CMYKcmyk(62.9%, 39.1%, 0%, 2.7%)
CIE-LABlab(62.66, 10.28, -54.20)
CIE-LCHlch(62.66, 55.17, 280.74°)
OKLaboklab(68.12% -0.0276 -0.1542)
OKLCHoklch(68.12% 0.157 259.8)
XYZxyz(32.4175, 31.1828, 93.0992)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C97F8 #F8BD5C
analogous
#5CE5F8 #5C97F8 #6F5CF8
triadic
#5C97F8 #F85C97 #97F85C
tetradic
#5C97F8 #F85CE5 #F8BD5C #5CF86F
square
#5C97F8 #F85CE5 #F8BD5C #5CF86F
split-complementary
#5C97F8 #F86F5C #E5F85C
monochromatic
#0954D1 #2172F5 #5C97F8 #97BCFB #D1E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C97F8#FFFFFF#000000##000000
##5C97F81.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)
#6C9FFC
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5c97f8;
/* rgb */ color: rgb(92, 151, 248);
/* oklch */ color: oklch(68.1% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#97b5fb',
    500: '#5c97f8',
    950: '#000000',
  },
}
SCSS
$custom: #5c97f8;
$custom-light: #97b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c97f8",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 217.308,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68116,
    "c": 0.15667,
    "h": 259.8
  },
  "luminance": 0.31186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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