#5D87E1#5D87E1

#5D87E1 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.143 H 263.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5D87E1
RGBrgb(93, 135, 225)
HSLhsl(221, 69%, 62%)
HSVhsv(221, 59%, 88%)
CMYKcmyk(58.7%, 40%, 0%, 11.8%)
CIE-LABlab(57.16, 12.37, -50.21)
CIE-LCHlch(57.16, 51.72, 283.84°)
OKLaboklab(63.48% -0.0152 -0.1427)
OKLCHoklch(63.48% 0.144 263.9)
XYZxyz(26.7641, 25.0891, 74.6518)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87E1 #E1B75D
analogous
#5DC9E1 #5D87E1 #755DE1
triadic
#5D87E1 #E15D87 #87E15D
tetradic
#5D87E1 #E15DC9 #E1B75D #5DE175
square
#5D87E1 #E15DC9 #E1B75D #5DE175
split-complementary
#5D87E1 #E1755D #C9E15D
monochromatic
#1F49A5 #2961D7 #5D87E1 #91ADEB #C4D4F4

Accessibility & contrast

On white

3.49
#5D87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5D87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87E1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87E1#FFFFFF#000000##000000
##5D87E11.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E5
Deuteranopia (green-blind)
#4E84DF
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d87e1;
/* rgb */ color: rgb(93, 135, 225);
/* oklch */ color: oklch(63.5% 0.143 263.9);
Tailwind
colors: {
  custom: {
    50: '#95a9eb',
    500: '#5d87e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d87e1;
$custom-light: #95a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87e1",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 220.909,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63479,
    "c": 0.1435,
    "h": 263.9
  },
  "luminance": 0.25091
}

Semantic roles & 50–950 ramp

primary
#5D87E1
secondary
#E5D6B5
accent
#9515D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5D87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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