#5D87DC#5D87DC

#5D87DC is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.2% C 0.137 H 263.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5D87DC
RGBrgb(93, 135, 220)
HSLhsl(220, 64%, 61%)
HSVhsv(220, 58%, 86%)
CMYKcmyk(57.7%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.90, 10.73, -47.83)
CIE-LCHlch(56.90, 49.02, 282.65°)
OKLaboklab(63.19% -0.0163 -0.1357)
OKLCHoklch(63.19% 0.137 263.2)
XYZxyz(26.0920, 24.8203, 71.1121)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D87DC #DCB25D
analogous
#5DC7DC #5D87DC #735DDC
triadic
#5D87DC #DC5D87 #87DC5D
tetradic
#5D87DC #DC5DC7 #DCB25D #5DDC73
square
#5D87DC #DC5DC7 #DCB25D #5DDC73
split-complementary
#5D87DC #DC735D #C7DC5D
monochromatic
#224B9D #2D62CF #5D87DC #8FACE7 #C2D2F2

Accessibility & contrast

On white

3.52
#5D87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5D87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D87DC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D87DC#FFFFFF#000000##000000
##5D87DC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDF
Deuteranopia (green-blind)
#5383DA
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d87dc;
/* rgb */ color: rgb(93, 135, 220);
/* oklch */ color: oklch(63.2% 0.137 263.2);
Tailwind
colors: {
  custom: {
    50: '#94a9e7',
    500: '#5d87dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d87dc;
$custom-light: #94a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d87dc",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 220.157,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.13669,
    "h": 263.2
  },
  "luminance": 0.24822
}

Semantic roles & 50–950 ramp

primary
#5D87DC
secondary
#E2D2B3
accent
#9119CC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5D87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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