#5C87F8#5C87F8

#5C87F8 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.175 H 266.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5C87F8
RGBrgb(92, 135, 248)
HSLhsl(223, 92%, 67%)
HSVhsv(223, 63%, 97%)
CMYKcmyk(62.9%, 45.6%, 0%, 2.7%)
CIE-LABlab(58.39, 19.83, -61.02)
CIE-LCHlch(58.39, 64.16, 288.00°)
OKLaboklab(64.83% -0.0121 -0.1744)
OKLCHoklch(64.83% 0.175 266)
XYZxyz(30.0150, 26.3778, 92.2984)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F8 #F8CD5C
analogous
#5CD5F8 #5C87F8 #7F5CF8
triadic
#5C87F8 #F85C87 #87F85C
tetradic
#5C87F8 #F85CD5 #F8CD5C #5CF87F
square
#5C87F8 #F85CD5 #F8CD5C #5CF87F
split-complementary
#5C87F8 #F87F5C #D5F85C
monochromatic
#0940D1 #215CF5 #5C87F8 #97B2FB #D1DDFD

Accessibility & contrast

On white

3.35
#5C87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5C87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F8#FFFFFF#000000##000000
##5C87F81.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#3486F6
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5c87f8;
/* rgb */ color: rgb(92, 135, 248);
/* oklch */ color: oklch(64.8% 0.175 266.0);
Tailwind
colors: {
  custom: {
    50: '#98a9fb',
    500: '#5c87f8',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f8;
$custom-light: #98a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f8",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 223.462,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64828,
    "c": 0.17484,
    "h": 266
  },
  "luminance": 0.26381
}

Semantic roles & 50–950 ramp

primary
#5C87F8
secondary
#F1E3BF
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5C87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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