#5D87CD#5D87CD

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

Color values

HEX#5D87CD
RGBrgb(93, 135, 205)
HSLhsl(218, 53%, 58%)
HSVhsv(218, 55%, 80%)
CMYKcmyk(54.6%, 34.1%, 0%, 19.6%)
CIE-LABlab(56.15, 5.89, -40.58)
CIE-LCHlch(56.15, 41.01, 278.26°)
OKLaboklab(62.36% -0.0198 -0.1146)
OKLCHoklch(62.36% 0.116 260.2)
XYZxyz(24.1938, 24.0610, 61.1151)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87CD #CDA35D
analogous
#5DBFCD #5D87CD #6B5DCD
triadic
#5D87CD #CD5D87 #87CD5D
tetradic
#5D87CD #CD5DBF #CDA35D #5DCD6B
square
#5D87CD #CD5DBF #CDA35D #5DCD6B
split-complementary
#5D87CD #CD6B5D #BFCD5D
monochromatic
#294C86 #3867B5 #5D87CD #8CAADB #BBCCEA

Accessibility & contrast

On white

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

On black

5.81
#5D87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87CD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87CD#FFFFFF#000000##000000
##5D87CD1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CD0
Deuteranopia (green-blind)
#5D82CC
Tritanopia (blue-blind)
#1996A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d87cd;
/* rgb */ color: rgb(93, 135, 205);
/* oklch */ color: oklch(62.4% 0.116 260.2);
Tailwind
colors: {
  custom: {
    50: '#92a9dc',
    500: '#5d87cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d87cd;
$custom-light: #92a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87cd",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 217.5,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.11626,
    "h": 260.2
  },
  "luminance": 0.24063
}

Semantic roles & 50–950 ramp

primary
#5D87CD
secondary
#D9C8AD
accent
#A64CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5D87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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