#5C87F0#5C87F0

#5C87F0 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.164 H 265.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5C87F0
RGBrgb(92, 135, 240)
HSLhsl(223, 83%, 65%)
HSVhsv(223, 62%, 94%)
CMYKcmyk(61.7%, 43.8%, 0%, 5.9%)
CIE-LABlab(57.93, 17.15, -57.33)
CIE-LCHlch(57.93, 59.84, 286.65°)
OKLaboklab(64.33% -0.0134 -0.1636)
OKLCHoklch(64.33% 0.164 265.3)
XYZxyz(28.8004, 25.8920, 85.9011)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F0 #F0C55C
analogous
#5CD1F0 #5C87F0 #7B5CF0
triadic
#5C87F0 #F05C87 #87F05C
tetradic
#5C87F0 #F05CD1 #F0C55C #5CF07B
square
#5C87F0 #F05CD1 #F0C55C #5CF07B
split-complementary
#5C87F0 #F07B5C #D1F05C
monochromatic
#1244C0 #245EEB #5C87F0 #94B0F5 #CCDAFA

Accessibility & contrast

On white

3.40
#5C87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5C87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F0#FFFFFF#000000##000000
##5C87F01.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F4
Deuteranopia (green-blind)
#3F85EE
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5c87f0;
/* rgb */ color: rgb(92, 135, 240);
/* oklch */ color: oklch(64.3% 0.164 265.3);
Tailwind
colors: {
  custom: {
    50: '#97a9f5',
    500: '#5c87f0',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f0;
$custom-light: #97a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f0",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 222.568,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64327,
    "c": 0.16414,
    "h": 265.3
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#5C87F0
secondary
#EDDEBB
accent
#A006E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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