#5D87F5#5D87F5

#5D87F5 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.171 H 266.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5D87F5
RGBrgb(93, 135, 245)
HSLhsl(223, 88%, 66%)
HSVhsv(223, 62%, 96%)
CMYKcmyk(62%, 44.9%, 0%, 3.9%)
CIE-LABlab(58.27, 18.99, -59.56)
CIE-LCHlch(58.27, 62.51, 287.69°)
OKLaboklab(64.69% -0.0117 -0.1701)
OKLCHoklch(64.69% 0.171 266.1)
XYZxyz(29.6539, 26.2450, 89.8716)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87F5 #F5CB5D
analogous
#5DD3F5 #5D87F5 #7F5DF5
triadic
#5D87F5 #F55D87 #87F55D
tetradic
#5D87F5 #F55DD3 #F5CB5D #5DF57F
square
#5D87F5 #F55DD3 #F5CB5D #5DF57F
split-complementary
#5D87F5 #F57F5D #D3F55D
monochromatic
#0D41CB #235CF1 #5D87F5 #97B2F9 #D0DCFC

Accessibility & contrast

On white

3.36
#5D87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5D87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87F5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87F5#FFFFFF#000000##000000
##5D87F51.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#3986F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5d87f5;
/* rgb */ color: rgb(93, 135, 245);
/* oklch */ color: oklch(64.7% 0.171 266.1);
Tailwind
colors: {
  custom: {
    50: '#98a9f9',
    500: '#5d87f5',
    950: '#000000',
  },
}
SCSS
$custom: #5d87f5;
$custom-light: #98a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87f5",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 223.421,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64689,
    "c": 0.17051,
    "h": 266.1
  },
  "luminance": 0.26248
}

Semantic roles & 50–950 ramp

primary
#5D87F5
secondary
#F0E2BE
accent
#A601E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5D87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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