#5C87E8#5C87E8

#5C87E8 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.8% C 0.153 H 264.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5C87E8
RGBrgb(92, 135, 232)
HSLhsl(222, 75%, 64%)
HSVhsv(222, 60%, 91%)
CMYKcmyk(60.3%, 41.8%, 0%, 9%)
CIE-LABlab(57.49, 14.49, -53.60)
CIE-LCHlch(57.49, 55.52, 285.13°)
OKLaboklab(63.84% -0.0148 -0.1526)
OKLCHoklch(63.84% 0.153 264.5)
XYZxyz(27.6381, 25.4271, 79.7797)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87E8 #E8BD5C
analogous
#5CCDE8 #5C87E8 #775CE8
triadic
#5C87E8 #E85C87 #87E85C
tetradic
#5C87E8 #E85CCD #E8BD5C #5CE877
square
#5C87E8 #E85CCD #E8BD5C #5CE877
split-complementary
#5C87E8 #E8775C #CDE85C
monochromatic
#1948B1 #2660E0 #5C87E8 #92AEF0 #C7D6F7

Accessibility & contrast

On white

3.45
#5C87E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5C87E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87E8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87E8#FFFFFF#000000##000000
##5C87E81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#4784E6
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5c87e8;
/* rgb */ color: rgb(92, 135, 232);
/* oklch */ color: oklch(63.8% 0.153 264.5);
Tailwind
colors: {
  custom: {
    50: '#95a9f0',
    500: '#5c87e8',
    950: '#000000',
  },
}
SCSS
$custom: #5c87e8;
$custom-light: #95a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87e8",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 221.571,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.15334,
    "h": 264.5
  },
  "luminance": 0.25429
}

Semantic roles & 50–950 ramp

primary
#5C87E8
secondary
#E9D9B7
accent
#9A0ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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