#5C98EC#5C98EC

#5C98EC is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.140 H 257.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5C98EC
RGBrgb(92, 152, 236)
HSLhsl(215, 79%, 64%)
HSVhsv(215, 61%, 93%)
CMYKcmyk(61%, 35.6%, 0%, 7.5%)
CIE-LABlab(62.33, 5.73, -48.14)
CIE-LCHlch(62.33, 48.48, 276.79°)
OKLaboklab(67.66% -0.0314 -0.1364)
OKLCHoklch(67.66% 0.14 257.1)
XYZxyz(30.7768, 30.7851, 83.6608)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C98EC #ECB05C
analogous
#5CE0EC #5C98EC #685CEC
triadic
#5C98EC #EC5C98 #98EC5C
tetradic
#5C98EC #EC5CE0 #ECB05C #5CEC68
square
#5C98EC #EC5CE0 #ECB05C #5CEC68
split-complementary
#5C98EC #EC685C #E0EC5C
monochromatic
#1559B8 #2575E6 #5C98EC #93BBF2 #CADDF9

Accessibility & contrast

On white

2.93
#5C98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#5C98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C98EC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C98EC#FFFFFF#000000##000000
##5C98EC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#6190EA
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5c98ec;
/* rgb */ color: rgb(92, 152, 236);
/* oklch */ color: oklch(67.7% 0.140 257.1);
Tailwind
colors: {
  custom: {
    50: '#96b5f2',
    500: '#5c98ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c98ec;
$custom-light: #96b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c98ec",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 215,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.14001,
    "h": 257.1
  },
  "luminance": 0.30788
}

Semantic roles & 50–950 ramp

primary
#5C98EC
secondary
#EBD6B9
accent
#840ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5C98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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