#5C97F5#5C97F5

#5C97F5 is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.153 H 259.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5C97F5
RGBrgb(92, 151, 245)
HSLhsl(217, 88%, 66%)
HSVhsv(217, 62%, 96%)
CMYKcmyk(62.4%, 38.4%, 0%, 3.9%)
CIE-LABlab(62.51, 9.29, -52.80)
CIE-LCHlch(62.51, 53.62, 279.98°)
OKLaboklab(67.94% -0.0283 -0.1501)
OKLCHoklch(67.94% 0.153 259.3)
XYZxyz(31.9558, 30.9981, 90.6677)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C97F5 #F5BA5C
analogous
#5CE3F5 #5C97F5 #6D5CF5
triadic
#5C97F5 #F55C97 #97F55C
tetradic
#5C97F5 #F55CE3 #F5BA5C #5CF56D
square
#5C97F5 #F55CE3 #F5BA5C #5CF56D
split-complementary
#5C97F5 #F56D5C #E3F55C
monochromatic
#0C56CA #2272F1 #5C97F5 #96BCF9 #CFE1FC

Accessibility & contrast

On white

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

On black

7.20
#5C97F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C97F5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C97F5#FFFFFF#000000##000000
##5C97F51.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF9
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5c97f5;
/* rgb */ color: rgb(92, 151, 245);
/* oklch */ color: oklch(67.9% 0.153 259.3);
Tailwind
colors: {
  custom: {
    50: '#97b5f9',
    500: '#5c97f5',
    950: '#000000',
  },
}
SCSS
$custom: #5c97f5;
$custom-light: #97b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c97f5",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 245
  },
  "hsl": {
    "h": 216.863,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67945,
    "c": 0.15275,
    "h": 259.3
  },
  "luminance": 0.31001
}

Semantic roles & 50–950 ramp

primary
#5C97F5
secondary
#F0DCBD
accent
#8D00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5C97F5

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

Preview Lab → · Contrast checker → · Palette generator →

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