#5C7FF8#5C7FF8

#5C7FF8 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.184 H 268.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5C7FF8
RGBrgb(92, 127, 248)
HSLhsl(227, 92%, 67%)
HSVhsv(227, 63%, 97%)
CMYKcmyk(62.9%, 48.8%, 0%, 2.7%)
CIE-LABlab(56.32, 24.67, -64.35)
CIE-LCHlch(56.32, 68.92, 290.97°)
OKLaboklab(63.24% -0.0046 -0.1843)
OKLCHoklch(63.24% 0.184 268.6)
XYZxyz(28.9405, 24.2288, 91.9402)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7FF8 #F8D55C
analogous
#5CCDF8 #5C7FF8 #875CF8
triadic
#5C7FF8 #F85C7F #7FF85C
tetradic
#5C7FF8 #F85CCD #F8D55C #5CF887
square
#5C7FF8 #F85CCD #F8D55C #5CF887
split-complementary
#5C7FF8 #F8875C #CDF85C
monochromatic
#0936D1 #2151F5 #5C7FF8 #97ADFB #D1DBFD

Accessibility & contrast

On white

3.59
#5C7FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5C7FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7FF8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7FF8#FFFFFF#000000##000000
##5C7FF81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#1680F5
Tritanopia (blue-blind)
#009BB0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5c7ff8;
/* rgb */ color: rgb(92, 127, 248);
/* oklch */ color: oklch(63.2% 0.184 268.6);
Tailwind
colors: {
  custom: {
    50: '#98a3fb',
    500: '#5c7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ff8;
$custom-light: #98a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ff8",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 226.538,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63244,
    "c": 0.1844,
    "h": 268.6
  },
  "luminance": 0.24231
}

Semantic roles & 50–950 ramp

primary
#5C7FF8
secondary
#F1E6BF
accent
#B200E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5C7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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