#5D87F0#5D87F0

#5D87F0 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.164 H 265.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5D87F0
RGBrgb(93, 135, 240)
HSLhsl(223, 83%, 65%)
HSVhsv(223, 61%, 94%)
CMYKcmyk(61.2%, 43.8%, 0%, 5.9%)
CIE-LABlab(57.98, 17.33, -57.25)
CIE-LCHlch(57.98, 59.81, 286.84°)
OKLaboklab(64.38% -0.0125 -0.1633)
OKLCHoklch(64.38% 0.164 265.6)
XYZxyz(28.9009, 25.9438, 85.9058)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87F0 #F0C65D
analogous
#5DD1F0 #5D87F0 #7C5DF0
triadic
#5D87F0 #F05D87 #87F05D
tetradic
#5D87F0 #F05DD1 #F0C65D #5DF07C
square
#5D87F0 #F05DD1 #F0C65D #5DF07C
split-complementary
#5D87F0 #F07C5D #D1F05D
monochromatic
#1244C1 #255EEB #5D87F0 #95B0F5 #CDDAFA

Accessibility & contrast

On white

3.39
#5D87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#5D87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87F0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87F0#FFFFFF#000000##000000
##5D87F01.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F4
Deuteranopia (green-blind)
#3F85EE
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5d87f0;
/* rgb */ color: rgb(93, 135, 240);
/* oklch */ color: oklch(64.4% 0.164 265.6);
Tailwind
colors: {
  custom: {
    50: '#97a9f5',
    500: '#5d87f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d87f0;
$custom-light: #97a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87f0",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 222.857,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64378,
    "c": 0.16381,
    "h": 265.6
  },
  "luminance": 0.25946
}

Semantic roles & 50–950 ramp

primary
#5D87F0
secondary
#EDDFBC
accent
#A106DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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