#5C98EF#5C98EF

#5C98EF is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.8% C 0.144 H 257.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5C98EF
RGBrgb(92, 152, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 62%, 94%)
CMYKcmyk(61.5%, 36.4%, 0%, 6.3%)
CIE-LABlab(62.47, 6.72, -49.56)
CIE-LCHlch(62.47, 50.01, 277.72°)
OKLaboklab(67.82% -0.0306 -0.1406)
OKLCHoklch(67.82% 0.144 257.7)
XYZxyz(31.2163, 30.9609, 85.9756)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98EF #EFB35C
analogous
#5CE2EF #5C98EF #695CEF
triadic
#5C98EF #EF5C98 #98EF5C
tetradic
#5C98EF #EF5CE2 #EFB35C #5CEF69
square
#5C98EF #EF5CE2 #EFB35C #5CEF69
split-complementary
#5C98EF #EF695C #E2EF5C
monochromatic
#1359BE #2475EA #5C98EF #94BBF4 #CBDEFA

Accessibility & contrast

On white

2.92
#5C98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#5C98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98EF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98EF#FFFFFF#000000##000000
##5C98EF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5c98ef;
/* rgb */ color: rgb(92, 152, 239);
/* oklch */ color: oklch(67.8% 0.144 257.7);
Tailwind
colors: {
  custom: {
    50: '#96b5f4',
    500: '#5c98ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c98ef;
$custom-light: #96b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98ef",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 215.51,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.14389,
    "h": 257.7
  },
  "luminance": 0.30964
}

Semantic roles & 50–950 ramp

primary
#5C98EF
secondary
#ECD8BA
accent
#8707DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5C98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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