#5D87F7#5D87F7

#5D87F7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.173 H 266.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5D87F7
RGBrgb(93, 135, 247)
HSLhsl(224, 91%, 67%)
HSVhsv(224, 62%, 97%)
CMYKcmyk(62.3%, 45.3%, 0%, 3.1%)
CIE-LABlab(58.38, 19.66, -60.48)
CIE-LCHlch(58.38, 63.59, 288.01°)
OKLaboklab(64.82% -0.0114 -0.1728)
OKLCHoklch(64.82% 0.173 266.2)
XYZxyz(29.9609, 26.3678, 91.4882)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87F7 #F7CD5D
analogous
#5DD4F7 #5D87F7 #805DF7
triadic
#5D87F7 #F75D87 #87F75D
tetradic
#5D87F7 #F75DD4 #F7CD5D #5DF780
square
#5D87F7 #F75DD4 #F7CD5D #5DF780
split-complementary
#5D87F7 #F7805D #D4F75D
monochromatic
#0A40CF #235CF4 #5D87F7 #97B2FA #D2DDFD

Accessibility & contrast

On white

3.35
#5D87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5D87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87F7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87F7#FFFFFF#000000##000000
##5D87F71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#3686F5
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5d87f7;
/* rgb */ color: rgb(93, 135, 247);
/* oklch */ color: oklch(64.8% 0.173 266.2);
Tailwind
colors: {
  custom: {
    50: '#98a9fa',
    500: '#5d87f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d87f7;
$custom-light: #98a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87f7",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 223.636,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64815,
    "c": 0.17319,
    "h": 266.2
  },
  "luminance": 0.26371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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