#5C98F5#5C98F5

#5C98F5 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.2% C 0.152 H 258.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5C98F5
RGBrgb(92, 152, 245)
HSLhsl(216, 88%, 66%)
HSVhsv(216, 62%, 96%)
CMYKcmyk(62.4%, 38%, 0%, 3.9%)
CIE-LABlab(62.78, 8.70, -52.37)
CIE-LCHlch(62.78, 53.09, 279.43°)
OKLaboklab(68.16% -0.0293 -0.1488)
OKLCHoklch(68.16% 0.152 258.9)
XYZxyz(32.1174, 31.3214, 90.7216)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98F5 #F5B95C
analogous
#5CE4F5 #5C98F5 #6C5CF5
triadic
#5C98F5 #F55C98 #98F55C
tetradic
#5C98F5 #F55CE4 #F5B95C #5CF56C
square
#5C98F5 #F55CE4 #F5B95C #5CF56C
split-complementary
#5C98F5 #F56C5C #E4F55C
monochromatic
#0C57CA #2274F1 #5C98F5 #96BCF9 #CFE1FC

Accessibility & contrast

On white

2.89
#5C98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#5C98F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98F5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98F5#FFFFFF#000000##000000
##5C98F51.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5c98f5;
/* rgb */ color: rgb(92, 152, 245);
/* oklch */ color: oklch(68.2% 0.152 258.9);
Tailwind
colors: {
  custom: {
    50: '#97b5f9',
    500: '#5c98f5',
    950: '#000000',
  },
}
SCSS
$custom: #5c98f5;
$custom-light: #97b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98f5",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 245
  },
  "hsl": {
    "h": 216.471,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68156,
    "c": 0.15169,
    "h": 258.9
  },
  "luminance": 0.31324
}

Semantic roles & 50–950 ramp

primary
#5C98F5
secondary
#F0DCBD
accent
#8B00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5C98F5

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

Preview Lab → · Contrast checker → · Palette generator →

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