#5C98F8#5C98F8

#5C98F8 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.3% C 0.156 H 259.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5C98F8
RGBrgb(92, 152, 248)
HSLhsl(217, 92%, 67%)
HSVhsv(217, 63%, 97%)
CMYKcmyk(62.9%, 38.7%, 0%, 2.7%)
CIE-LABlab(62.93, 9.70, -53.77)
CIE-LCHlch(62.93, 54.64, 280.22°)
OKLaboklab(68.33% -0.0286 -0.1529)
OKLCHoklch(68.33% 0.156 259.4)
XYZxyz(32.5791, 31.5060, 93.1531)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98F8 #F8BC5C
analogous
#5CE6F8 #5C98F8 #6E5CF8
triadic
#5C98F8 #F85C98 #98F85C
tetradic
#5C98F8 #F85CE6 #F8BC5C #5CF86E
square
#5C98F8 #F85CE6 #F8BC5C #5CF86E
split-complementary
#5C98F8 #F86E5C #E6F85C
monochromatic
#0956D1 #2173F5 #5C98F8 #97BDFB #D1E2FD

Accessibility & contrast

On white

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

On black

7.30
#5C98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98F8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98F8#FFFFFF#000000##000000
##5C98F81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#5792F6
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5c98f8;
/* rgb */ color: rgb(92, 152, 248);
/* oklch */ color: oklch(68.3% 0.156 259.4);
Tailwind
colors: {
  custom: {
    50: '#97b5fb',
    500: '#5c98f8',
    950: '#000000',
  },
}
SCSS
$custom: #5c98f8;
$custom-light: #97b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98f8",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 216.923,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68326,
    "c": 0.15559,
    "h": 259.4
  },
  "luminance": 0.31509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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