#5C98FD#5C98FD

#5C98FD is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.6% C 0.162 H 260.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5C98FD
RGBrgb(92, 152, 253)
HSLhsl(218, 98%, 68%)
HSVhsv(218, 64%, 99%)
CMYKcmyk(63.6%, 39.9%, 0%, 0.8%)
CIE-LABlab(63.19, 11.36, -56.09)
CIE-LCHlch(63.19, 57.23, 281.45°)
OKLaboklab(68.61% -0.0276 -0.1597)
OKLCHoklch(68.61% 0.162 260.2)
XYZxyz(33.3652, 31.8205, 97.2931)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98FD #FDC15C
analogous
#5CE8FD #5C98FD #715CFD
triadic
#5C98FD #FD5C98 #98FD5C
tetradic
#5C98FD #FD5CE8 #FDC15C #5CFD71
square
#5C98FD #FD5CE8 #FDC15C #5CFD71
split-complementary
#5C98FD #FD715C #E8FD5C
monochromatic
#0354DC #2072FC #5C98FD #98BEFE #D5E4FE

Accessibility & contrast

On white

2.85
#5C98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5C98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98FD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98FD#FFFFFF#000000##000000
##5C98FD1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5c98fd;
/* rgb */ color: rgb(92, 152, 253);
/* oklch */ color: oklch(68.6% 0.162 260.2);
Tailwind
colors: {
  custom: {
    50: '#98b5fe',
    500: '#5c98fd',
    950: '#000000',
  },
}
SCSS
$custom: #5c98fd;
$custom-light: #98b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98fd",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 217.64,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68614,
    "c": 0.1621,
    "h": 260.2
  },
  "luminance": 0.31824
}

Semantic roles & 50–950 ramp

primary
#5C98FD
secondary
#F3E1C1
accent
#9000E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5C98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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