#5C97FC#5C97FC

#5C97FC is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.162 H 260.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5C97FC
RGBrgb(92, 151, 252)
HSLhsl(218, 96%, 67%)
HSVhsv(218, 63%, 99%)
CMYKcmyk(63.5%, 40.1%, 0%, 1.2%)
CIE-LABlab(62.87, 11.61, -56.06)
CIE-LCHlch(62.87, 57.25, 281.70°)
OKLaboklab(68.35% -0.0268 -0.1596)
OKLCHoklch(68.35% 0.162 260.5)
XYZxyz(33.0447, 31.4337, 96.4024)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C97FC #FCC15C
analogous
#5CE7FC #5C97FC #715CFC
triadic
#5C97FC #FC5C97 #97FC5C
tetradic
#5C97FC #FC5CE7 #FCC15C #5CFC71
square
#5C97FC #FC5CE7 #FCC15C #5CFC71
split-complementary
#5C97FC #FC715C #E7FC5C
monochromatic
#0453DA #2071FB #5C97FC #98BDFD #D4E4FE

Accessibility & contrast

On white

2.88
#5C97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5C97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C97FC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C97FC#FFFFFF#000000##000000
##5C97FC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5c97fc;
/* rgb */ color: rgb(92, 151, 252);
/* oklch */ color: oklch(68.3% 0.162 260.5);
Tailwind
colors: {
  custom: {
    50: '#98b5fe',
    500: '#5c97fc',
    950: '#000000',
  },
}
SCSS
$custom: #5c97fc;
$custom-light: #98b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5c97fc",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 217.875,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68347,
    "c": 0.16189,
    "h": 260.5
  },
  "luminance": 0.31437
}

Semantic roles & 50–950 ramp

primary
#5C97FC
secondary
#F3E0C1
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5C97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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