#5C87F9#5C87F9

#5C87F9 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.9% C 0.176 H 266.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5C87F9
RGBrgb(92, 135, 249)
HSLhsl(224, 93%, 67%)
HSVhsv(224, 63%, 98%)
CMYKcmyk(63.1%, 45.8%, 0%, 2.4%)
CIE-LABlab(58.45, 20.16, -61.47)
CIE-LCHlch(58.45, 64.69, 288.16°)
OKLaboklab(64.89% -0.012 -0.1758)
OKLCHoklch(64.89% 0.176 266.1)
XYZxyz(30.1706, 26.4401, 93.1176)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F9 #F9CE5C
analogous
#5CD5F9 #5C87F9 #805CF9
triadic
#5C87F9 #F95C87 #87F95C
tetradic
#5C87F9 #F95CD5 #F9CE5C #5CF980
square
#5C87F9 #F95CD5 #F9CE5C #5CF980
split-complementary
#5C87F9 #F9805C #D5F95C
monochromatic
#083FD3 #215CF7 #5C87F9 #97B2FB #D2DEFD

Accessibility & contrast

On white

3.34
#5C87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5C87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F9#FFFFFF#000000##000000
##5C87F91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#3286F7
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c87f9;
/* rgb */ color: rgb(92, 135, 249);
/* oklch */ color: oklch(64.9% 0.176 266.1);
Tailwind
colors: {
  custom: {
    50: '#98a9fc',
    500: '#5c87f9',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f9;
$custom-light: #98a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f9",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 223.567,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.17617,
    "h": 266.1
  },
  "luminance": 0.26443
}

Semantic roles & 50–950 ramp

primary
#5C87F9
secondary
#F2E4BF
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5C87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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