#5C87F5#5C87F5

#5C87F5 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.6% C 0.171 H 265.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5C87F5
RGBrgb(92, 135, 245)
HSLhsl(223, 88%, 66%)
HSVhsv(223, 62%, 96%)
CMYKcmyk(62.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(58.22, 18.82, -59.64)
CIE-LCHlch(58.22, 62.54, 287.51°)
OKLaboklab(64.64% -0.0126 -0.1704)
OKLCHoklch(64.64% 0.171 265.8)
XYZxyz(29.5534, 26.1932, 89.8669)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F5 #F5CA5C
analogous
#5CD3F5 #5C87F5 #7D5CF5
triadic
#5C87F5 #F55C87 #87F55C
tetradic
#5C87F5 #F55CD3 #F5CA5C #5CF57D
square
#5C87F5 #F55CD3 #F5CA5C #5CF57D
split-complementary
#5C87F5 #F57D5C #D3F55C
monochromatic
#0C42CA #225DF1 #5C87F5 #96B1F9 #CFDCFC

Accessibility & contrast

On white

3.37
#5C87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5C87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F5#FFFFFF#000000##000000
##5C87F51.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#3885F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5c87f5;
/* rgb */ color: rgb(92, 135, 245);
/* oklch */ color: oklch(64.6% 0.171 265.8);
Tailwind
colors: {
  custom: {
    50: '#97a9f9',
    500: '#5c87f5',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f5;
$custom-light: #97a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f5",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 223.137,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64639,
    "c": 0.17084,
    "h": 265.8
  },
  "luminance": 0.26196
}

Semantic roles & 50–950 ramp

primary
#5C87F5
secondary
#F0E1BD
accent
#A500E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5C87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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