#5D87F1#5D87F1

#5D87F1 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.165 H 265.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5D87F1
RGBrgb(93, 135, 241)
HSLhsl(223, 84%, 65%)
HSVhsv(223, 61%, 95%)
CMYKcmyk(61.4%, 44%, 0%, 5.5%)
CIE-LABlab(58.04, 17.66, -57.71)
CIE-LCHlch(58.04, 60.35, 287.02°)
OKLaboklab(64.44% -0.0123 -0.1647)
OKLCHoklch(64.44% 0.165 265.7)
XYZxyz(29.0499, 26.0034, 86.6903)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87F1 #F1C75D
analogous
#5DD1F1 #5D87F1 #7D5DF1
triadic
#5D87F1 #F15D87 #87F15D
tetradic
#5D87F1 #F15DD1 #F1C75D #5DF17D
square
#5D87F1 #F15DD1 #F1C75D #5DF17D
split-complementary
#5D87F1 #F17D5D #D1F15D
monochromatic
#1143C3 #255DEC #5D87F1 #95B1F6 #CEDAFB

Accessibility & contrast

On white

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

On black

6.20
#5D87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87F1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87F1#FFFFFF#000000##000000
##5D87F11.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F5
Deuteranopia (green-blind)
#3E85EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5d87f1;
/* rgb */ color: rgb(93, 135, 241);
/* oklch */ color: oklch(64.4% 0.165 265.7);
Tailwind
colors: {
  custom: {
    50: '#97a9f6',
    500: '#5d87f1',
    950: '#000000',
  },
}
SCSS
$custom: #5d87f1;
$custom-light: #97a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87f1",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 222.973,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6444,
    "c": 0.16515,
    "h": 265.7
  },
  "luminance": 0.26006
}

Semantic roles & 50–950 ramp

primary
#5D87F1
secondary
#EEE0BC
accent
#A205E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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