#5D87CB#5D87CB

#5D87CB is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.3% C 0.114 H 259.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5D87CB
RGBrgb(93, 135, 203)
HSLhsl(217, 51%, 58%)
HSVhsv(217, 54%, 80%)
CMYKcmyk(54.2%, 33.5%, 0%, 20.4%)
CIE-LABlab(56.05, 5.26, -39.60)
CIE-LCHlch(56.05, 39.95, 277.56°)
OKLaboklab(62.26% -0.0203 -0.1117)
OKLCHoklch(62.26% 0.114 259.7)
XYZxyz(23.9540, 23.9650, 59.8518)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87CB #CBA15D
analogous
#5DBECB #5D87CB #6A5DCB
triadic
#5D87CB #CB5D87 #87CB5D
tetradic
#5D87CB #CB5DBE #CBA15D #5DCB6A
square
#5D87CB #CB5DBE #CBA15D #5DCB6A
split-complementary
#5D87CB #CB6A5D #BECB5D
monochromatic
#2A4C83 #3967B2 #5D87CB #8BA9DA #BACCE9

Accessibility & contrast

On white

3.62
#5D87CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5D87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87CB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87CB#FFFFFF#000000##000000
##5D87CB1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#1D96A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d87cb;
/* rgb */ color: rgb(93, 135, 203);
/* oklch */ color: oklch(62.3% 0.114 259.7);
Tailwind
colors: {
  custom: {
    50: '#92a9db',
    500: '#5d87cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d87cb;
$custom-light: #92a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87cb",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 217.091,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62257,
    "c": 0.11355,
    "h": 259.7
  },
  "luminance": 0.23967
}

Semantic roles & 50–950 ramp

primary
#5D87CB
secondary
#D8C7AC
accent
#A54DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5D87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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