#5C97F2#5C97F2

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

Color values

HEX#5C97F2
RGBrgb(92, 151, 242)
HSLhsl(216, 85%, 65%)
HSVhsv(216, 62%, 95%)
CMYKcmyk(62%, 37.6%, 0%, 5.1%)
CIE-LABlab(62.35, 8.29, -51.40)
CIE-LCHlch(62.35, 52.06, 279.17°)
OKLaboklab(67.77% -0.0289 -0.146)
OKLCHoklch(67.77% 0.149 258.8)
XYZxyz(31.5016, 30.8164, 88.2752)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C97F2 #F2B75C
analogous
#5CE2F2 #5C97F2 #6C5CF2
triadic
#5C97F2 #F25C97 #97F25C
tetradic
#5C97F2 #F25CE2 #F2B75C #5CF26C
square
#5C97F2 #F25CE2 #F2B75C #5CF26C
split-complementary
#5C97F2 #F26C5C #E2F25C
monochromatic
#1057C4 #2373ED #5C97F2 #95BBF7 #CDDFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C97F2#FFFFFF#000000##000000
##5C97F21.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)
#6F9EF6
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5c97f2;
/* rgb */ color: rgb(92, 151, 242);
/* oklch */ color: oklch(67.8% 0.149 258.8);
Tailwind
colors: {
  custom: {
    50: '#97b5f7',
    500: '#5c97f2',
    950: '#000000',
  },
}
SCSS
$custom: #5c97f2;
$custom-light: #97b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c97f2",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 216.4,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.14884,
    "h": 258.8
  },
  "luminance": 0.30819
}

Semantic roles & 50–950 ramp

primary
#5C97F2
secondary
#EEDABC
accent
#8A04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5C97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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