#5D87CE#5D87CE

#5D87CE is a light, moderate blue. Relative luminance 0.241; OKLCH L 62.4% C 0.118 H 260.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D87CE
RGBrgb(93, 135, 206)
HSLhsl(218, 54%, 59%)
HSVhsv(218, 55%, 81%)
CMYKcmyk(54.9%, 34.5%, 0%, 19.2%)
CIE-LABlab(56.20, 6.21, -41.07)
CIE-LCHlch(56.20, 41.54, 278.60°)
OKLaboklab(62.42% -0.0196 -0.116)
OKLCHoklch(62.42% 0.118 260.4)
XYZxyz(24.3149, 24.1094, 61.7528)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87CE #CEA45D
analogous
#5DBFCE #5D87CE #6B5DCE
triadic
#5D87CE #CE5D87 #87CE5D
tetradic
#5D87CE #CE5DBF #CEA45D #5DCE6B
square
#5D87CE #CE5DBF #CEA45D #5DCE6B
split-complementary
#5D87CE #CE6B5D #BFCE5D
monochromatic
#294C88 #3767B7 #5D87CE #8CAADC #BBCDEA

Accessibility & contrast

On white

3.61
#5D87CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5D87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87CE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87CE#FFFFFF#000000##000000
##5D87CE1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD1
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#1797A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d87ce;
/* rgb */ color: rgb(93, 135, 206);
/* oklch */ color: oklch(62.4% 0.118 260.4);
Tailwind
colors: {
  custom: {
    50: '#92a9dd',
    500: '#5d87ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d87ce;
$custom-light: #92a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87ce",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 217.699,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62416,
    "c": 0.11762,
    "h": 260.4
  },
  "luminance": 0.24111
}

Semantic roles & 50–950 ramp

primary
#5D87CE
secondary
#DAC9AD
accent
#A74BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5D87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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