#5C98FB#5C98FB

#5C98FB is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.160 H 259.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5C98FB
RGBrgb(92, 152, 251)
HSLhsl(217, 95%, 67%)
HSVhsv(217, 63%, 98%)
CMYKcmyk(63.3%, 39.4%, 0%, 1.6%)
CIE-LABlab(63.09, 10.69, -55.17)
CIE-LCHlch(63.09, 56.19, 280.97°)
OKLaboklab(68.5% -0.028 -0.157)
OKLCHoklch(68.5% 0.16 259.9)
XYZxyz(33.0483, 31.6937, 95.6239)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98FB #FBBF5C
analogous
#5CE8FB #5C98FB #6F5CFB
triadic
#5C98FB #FB5C98 #98FB5C
tetradic
#5C98FB #FB5CE8 #FBBF5C #5CFB6F
square
#5C98FB #FB5CE8 #FBBF5C #5CFB6F
split-complementary
#5C98FB #FB6F5C #E8FB5C
monochromatic
#0555D7 #2072FA #5C98FB #98BEFC #D3E3FE

Accessibility & contrast

On white

2.86
#5C98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#5C98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98FB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98FB#FFFFFF#000000##000000
##5C98FB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#00AFBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5c98fb;
/* rgb */ color: rgb(92, 152, 251);
/* oklch */ color: oklch(68.5% 0.160 259.9);
Tailwind
colors: {
  custom: {
    50: '#98b5fd',
    500: '#5c98fb',
    950: '#000000',
  },
}
SCSS
$custom: #5c98fb;
$custom-light: #98b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98fb",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 217.358,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68498,
    "c": 0.1595,
    "h": 259.9
  },
  "luminance": 0.31697
}

Semantic roles & 50–950 ramp

primary
#5C98FB
secondary
#F2E0C0
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5C98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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