#5C87F4#5C87F4

#5C87F4 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.170 H 265.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5C87F4
RGBrgb(92, 135, 244)
HSLhsl(223, 87%, 66%)
HSVhsv(223, 62%, 96%)
CMYKcmyk(62.3%, 44.7%, 0%, 4.3%)
CIE-LABlab(58.16, 18.49, -59.18)
CIE-LCHlch(58.16, 62.00, 287.35°)
OKLaboklab(64.58% -0.0127 -0.169)
OKLCHoklch(64.58% 0.17 265.7)
XYZxyz(29.4011, 26.1323, 89.0650)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87F4 #F4C95C
analogous
#5CD3F4 #5C87F4 #7D5CF4
triadic
#5C87F4 #F45C87 #87F45C
tetradic
#5C87F4 #F45CD3 #F4C95C #5CF47D
square
#5C87F4 #F45CD3 #F4C95C #5CF47D
split-complementary
#5C87F4 #F47D5C #D3F45C
monochromatic
#0E42C8 #235DF0 #5C87F4 #95B1F8 #CFDBFC

Accessibility & contrast

On white

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

On black

6.23
#5C87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87F4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87F4#FFFFFF#000000##000000
##5C87F41.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5c87f4;
/* rgb */ color: rgb(92, 135, 244);
/* oklch */ color: oklch(64.6% 0.170 265.7);
Tailwind
colors: {
  custom: {
    50: '#97a9f8',
    500: '#5c87f4',
    950: '#000000',
  },
}
SCSS
$custom: #5c87f4;
$custom-light: #97a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87f4",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 223.026,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64576,
    "c": 0.1695,
    "h": 265.7
  },
  "luminance": 0.26135
}

Semantic roles & 50–950 ramp

primary
#5C87F4
secondary
#EFE1BD
accent
#A402E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5C87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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