#5D87D2#5D87D2

#5D87D2 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.6% C 0.123 H 261.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5D87D2
RGBrgb(93, 135, 210)
HSLhsl(218, 57%, 59%)
HSVhsv(218, 56%, 82%)
CMYKcmyk(55.7%, 35.7%, 0%, 17.6%)
CIE-LABlab(56.39, 7.49, -43.02)
CIE-LCHlch(56.39, 43.67, 279.88°)
OKLaboklab(62.63% -0.0186 -0.1216)
OKLCHoklch(62.63% 0.123 261.3)
XYZxyz(24.8070, 24.3063, 64.3446)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87D2 #D2A85D
analogous
#5DC1D2 #5D87D2 #6E5DD2
triadic
#5D87D2 #D25D87 #87D25D
tetradic
#5D87D2 #D25DC1 #D2A85D #5DD26E
square
#5D87D2 #D25DC1 #D2A85D #5DD26E
split-complementary
#5D87D2 #D26E5D #C1D25D
monochromatic
#274C8D #3566BD #5D87D2 #8DAADF #BDCEED

Accessibility & contrast

On white

3.58
#5D87D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5D87D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87D2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87D2#FFFFFF#000000##000000
##5D87D21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688DD5
Deuteranopia (green-blind)
#5A82D0
Tritanopia (blue-blind)
#0C98A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d87d2;
/* rgb */ color: rgb(93, 135, 210);
/* oklch */ color: oklch(62.6% 0.123 261.3);
Tailwind
colors: {
  custom: {
    50: '#93a9e0',
    500: '#5d87d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d87d2;
$custom-light: #93a9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87d2",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 218.462,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.12306,
    "h": 261.3
  },
  "luminance": 0.24308
}

Semantic roles & 50–950 ramp

primary
#5D87D2
secondary
#DCCCAF
accent
#A948E0
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5D87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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