#5D87FC#5D87FC

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

Color values

HEX#5D87FC
RGBrgb(93, 135, 252)
HSLhsl(224, 96%, 68%)
HSVhsv(224, 63%, 99%)
CMYKcmyk(63.1%, 46.4%, 0%, 1.2%)
CIE-LABlab(58.68, 21.33, -62.76)
CIE-LCHlch(58.68, 66.29, 288.77°)
OKLaboklab(65.13% -0.0107 -0.1795)
OKLCHoklch(65.13% 0.18 266.6)
XYZxyz(30.7428, 26.6806, 95.6063)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87FC #FCD25D
analogous
#5DD6FC #5D87FC #825DFC
triadic
#5D87FC #FC5D87 #87FC5D
tetradic
#5D87FC #FC5DD6 #FCD25D #5DFC82
square
#5D87FC #FC5DD6 #FCD25D #5DFC82
split-complementary
#5D87FC #FC825D #D6FC5D
monochromatic
#043DDB #215AFB #5D87FC #99B4FD #D5E0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D87FC#FFFFFF#000000##000000
##5D87FC1.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)
#4C95FF
Deuteranopia (green-blind)
#2E86FA
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d87fc;
/* rgb */ color: rgb(93, 135, 252);
/* oklch */ color: oklch(65.1% 0.180 266.6);
Tailwind
colors: {
  custom: {
    50: '#99a9fe',
    500: '#5d87fc',
    950: '#000000',
  },
}
SCSS
$custom: #5d87fc;
$custom-light: #99a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87fc",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 224.151,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.17985,
    "h": 266.6
  },
  "luminance": 0.26683
}

Semantic roles & 50–950 ramp

primary
#5D87FC
secondary
#F3E6C2
accent
#A900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5D87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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