#5C97F1#5C97F1

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

Color values

HEX#5C97F1
RGBrgb(92, 151, 241)
HSLhsl(216, 84%, 65%)
HSVhsv(216, 62%, 95%)
CMYKcmyk(61.8%, 37.3%, 0%, 5.5%)
CIE-LABlab(62.30, 7.96, -50.93)
CIE-LCHlch(62.30, 51.55, 278.89°)
OKLaboklab(67.72% -0.0292 -0.1446)
OKLCHoklch(67.72% 0.148 258.6)
XYZxyz(31.3518, 30.7565, 87.4864)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C97F1 #F1B65C
analogous
#5CE1F1 #5C97F1 #6C5CF1
triadic
#5C97F1 #F15C97 #97F15C
tetradic
#5C97F1 #F15CE1 #F1B65C #5CF16C
square
#5C97F1 #F15CE1 #F1B65C #5CF16C
split-complementary
#5C97F1 #F16C5C #E1F15C
monochromatic
#1157C2 #2473EC #5C97F1 #94BBF6 #CDDFFB

Accessibility & contrast

On white

2.94
#5C97F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5C97F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5C97F1
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C97F1#FFFFFF#000000##000000
##5C97F11.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF5
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5c97f1;
/* rgb */ color: rgb(92, 151, 241);
/* oklch */ color: oklch(67.7% 0.148 258.6);
Tailwind
colors: {
  custom: {
    50: '#96b5f6',
    500: '#5c97f1',
    950: '#000000',
  },
}
SCSS
$custom: #5c97f1;
$custom-light: #96b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c97f1",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 241
  },
  "hsl": {
    "h": 216.242,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.14754,
    "h": 258.6
  },
  "luminance": 0.30759
}

Semantic roles & 50–950 ramp

primary
#5C97F1
secondary
#EEDABB
accent
#8A05E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5C97F1

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

Preview Lab → · Contrast checker → · Palette generator →

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