#5C7EF8#5C7EF8

#5C7EF8 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.186 H 268.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5C7EF8
RGBrgb(92, 126, 248)
HSLhsl(227, 92%, 67%)
HSVhsv(227, 63%, 97%)
CMYKcmyk(62.9%, 49.2%, 0%, 2.7%)
CIE-LABlab(56.06, 25.28, -64.77)
CIE-LCHlch(56.06, 69.52, 291.32°)
OKLaboklab(63.05% -0.0037 -0.1856)
OKLCHoklch(63.05% 0.186 268.9)
XYZxyz(28.8120, 23.9718, 91.8974)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7EF8 #F8D65C
analogous
#5CCCF8 #5C7EF8 #885CF8
triadic
#5C7EF8 #F85C7E #7EF85C
tetradic
#5C7EF8 #F85CCC #F8D65C #5CF888
square
#5C7EF8 #F85CCC #F8D65C #5CF888
split-complementary
#5C7EF8 #F8885C #CCF85C
monochromatic
#0934D1 #2150F5 #5C7EF8 #97ACFB #D1DBFD

Accessibility & contrast

On white

3.62
#5C7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5C7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7EF8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7EF8#FFFFFF#000000##000000
##5C7EF81.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFC
Deuteranopia (green-blind)
#0F80F5
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c7ef8;
/* rgb */ color: rgb(92, 126, 248);
/* oklch */ color: oklch(63.0% 0.186 268.9);
Tailwind
colors: {
  custom: {
    50: '#98a2fb',
    500: '#5c7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ef8;
$custom-light: #98a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ef8",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 226.923,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63049,
    "c": 0.18561,
    "h": 268.9
  },
  "luminance": 0.23974
}

Semantic roles & 50–950 ramp

primary
#5C7EF8
secondary
#F1E6BF
accent
#B300E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5C7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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