#5C87FD#5C87FD

#5C87FD is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.1% C 0.181 H 266.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5C87FD
RGBrgb(92, 135, 253)
HSLhsl(224, 98%, 68%)
HSVhsv(224, 64%, 99%)
CMYKcmyk(63.6%, 46.6%, 0%, 0.8%)
CIE-LABlab(58.69, 21.50, -63.30)
CIE-LCHlch(58.69, 66.85, 288.76°)
OKLaboklab(65.15% -0.0114 -0.1811)
OKLCHoklch(65.15% 0.181 266.4)
XYZxyz(30.8011, 26.6923, 96.4384)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87FD #FDD25C
analogous
#5CD8FD #5C87FD #815CFD
triadic
#5C87FD #FD5C87 #87FD5C
tetradic
#5C87FD #FD5CD8 #FDD25C #5CFD81
square
#5C87FD #FD5CD8 #FDD25C #5CFD81
split-complementary
#5C87FD #FD815C #D8FD5C
monochromatic
#033DDC #205AFC #5C87FD #98B4FE #D5E0FE

Accessibility & contrast

On white

3.31
#5C87FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5C87FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87FD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87FD#FFFFFF#000000##000000
##5C87FD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#2B86FB
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c87fd;
/* rgb */ color: rgb(92, 135, 253);
/* oklch */ color: oklch(65.1% 0.181 266.4);
Tailwind
colors: {
  custom: {
    50: '#99a9ff',
    500: '#5c87fd',
    950: '#000000',
  },
}
SCSS
$custom: #5c87fd;
$custom-light: #99a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87fd",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 223.975,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65148,
    "c": 0.18148,
    "h": 266.4
  },
  "luminance": 0.26695
}

Semantic roles & 50–950 ramp

primary
#5C87FD
secondary
#F3E6C1
accent
#A800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5C87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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