#5C87F7#5C87F7

#5C87F7 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.174 H 265.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5C87F7
RGBrgb(92, 135, 247)
HSLhsl(223, 91%, 66%)
HSVhsv(223, 63%, 97%)
CMYKcmyk(62.8%, 45.3%, 0%, 3.1%)
CIE-LABlab(58.34, 19.49, -60.56)
CIE-LCHlch(58.34, 63.62, 287.84°)
OKLaboklab(64.77% -0.0123 -0.1731)
OKLCHoklch(64.77% 0.174 265.9)
XYZxyz(29.8603, 26.3160, 91.4835)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F7 #F7CC5C
analogous
#5CD4F7 #5C87F7 #7F5CF7
triadic
#5C87F7 #F75C87 #87F75C
tetradic
#5C87F7 #F75CD4 #F7CC5C #5CF77F
square
#5C87F7 #F75CD4 #F7CC5C #5CF77F
split-complementary
#5C87F7 #F77F5C #D4F75C
monochromatic
#0A41CE #225CF4 #5C87F7 #96B2FA #D1DDFD

Accessibility & contrast

On white

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

On black

6.26
#5C87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F7#FFFFFF#000000##000000
##5C87F71.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#3586F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5c87f7;
/* rgb */ color: rgb(92, 135, 247);
/* oklch */ color: oklch(64.8% 0.174 265.9);
Tailwind
colors: {
  custom: {
    50: '#98a9fa',
    500: '#5c87f7',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f7;
$custom-light: #98a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f7",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 223.355,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64765,
    "c": 0.17351,
    "h": 265.9
  },
  "luminance": 0.26319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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