#5D87C8#5D87C8

#5D87C8 is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.1% C 0.109 H 258.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5D87C8
RGBrgb(93, 135, 200)
HSLhsl(216, 49%, 57%)
HSVhsv(216, 54%, 78%)
CMYKcmyk(53.5%, 32.5%, 0%, 21.6%)
CIE-LABlab(55.91, 4.30, -38.13)
CIE-LCHlch(55.91, 38.37, 276.44°)
OKLaboklab(62.1% -0.0211 -0.1074)
OKLCHoklch(62.1% 0.109 258.9)
XYZxyz(23.5999, 23.8234, 57.9871)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87C8 #C89E5D
analogous
#5DBCC8 #5D87C8 #695DC8
triadic
#5D87C8 #C85D87 #87C85D
tetradic
#5D87C8 #C85DBC #C89E5D #5DC869
square
#5D87C8 #C85DBC #C89E5D #5DC869
split-complementary
#5D87C8 #C8695D #BCC85D
monochromatic
#2B4C7F #3B68AD #5D87C8 #8BA9D8 #B8CBE7

Accessibility & contrast

On white

3.64
#5D87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5D87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87C8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87C8#FFFFFF#000000##000000
##5D87C81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCB
Deuteranopia (green-blind)
#6081C7
Tritanopia (blue-blind)
#21959E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d87c8;
/* rgb */ color: rgb(93, 135, 200);
/* oklch */ color: oklch(62.1% 0.109 258.9);
Tailwind
colors: {
  custom: {
    50: '#92a9d9',
    500: '#5d87c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d87c8;
$custom-light: #92a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87c8",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 216.449,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62099,
    "c": 0.10948,
    "h": 258.9
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#5D87C8
secondary
#D6C5AB
accent
#A34FD9
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5D87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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