#5D87CC#5D87CC

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

Color values

HEX#5D87CC
RGBrgb(93, 135, 204)
HSLhsl(217, 52%, 58%)
HSVhsv(217, 54%, 80%)
CMYKcmyk(54.4%, 33.8%, 0%, 20%)
CIE-LABlab(56.10, 5.57, -40.09)
CIE-LCHlch(56.10, 40.48, 277.91°)
OKLaboklab(62.31% -0.0201 -0.1131)
OKLCHoklch(62.31% 0.115 259.9)
XYZxyz(24.0735, 24.0129, 60.4814)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87CC #CCA25D
analogous
#5DBFCC #5D87CC #6A5DCC
triadic
#5D87CC #CC5D87 #87CC5D
tetradic
#5D87CC #CC5DBF #CCA25D #5DCC6A
square
#5D87CC #CC5DBF #CCA25D #5DCC6A
split-complementary
#5D87CC #CC6A5D #BFCC5D
monochromatic
#2A4C85 #3867B3 #5D87CC #8CA9DB #BACCE9

Accessibility & contrast

On white

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

On black

5.80
#5D87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87CC#FFFFFF#000000##000000
##5D87CC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#1B96A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d87cc;
/* rgb */ color: rgb(93, 135, 204);
/* oklch */ color: oklch(62.3% 0.115 259.9);
Tailwind
colors: {
  custom: {
    50: '#92a9dc',
    500: '#5d87cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d87cc;
$custom-light: #92a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87cc",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 217.297,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.1149,
    "h": 259.9
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#5D87CC
secondary
#D9C8AC
accent
#A54CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5D87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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