#5C87DC#5C87DC

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

Color values

HEX#5C87DC
RGBrgb(92, 135, 220)
HSLhsl(220, 65%, 61%)
HSVhsv(220, 58%, 86%)
CMYKcmyk(58.2%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.85, 10.53, -47.92)
CIE-LCHlch(56.85, 49.06, 282.40°)
OKLaboklab(63.14% -0.0172 -0.136)
OKLCHoklch(63.14% 0.137 262.8)
XYZxyz(25.9914, 24.7684, 71.1074)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87DC #DCB15C
analogous
#5CC7DC #5C87DC #715CDC
triadic
#5C87DC #DC5C87 #87DC5C
tetradic
#5C87DC #DC5CC7 #DCB15C #5CDC71
square
#5C87DC #DC5CC7 #DCB15C #5CDC71
split-complementary
#5C87DC #DC715C #C7DC5C
monochromatic
#224B9C #2C63CE #5C87DC #8EACE7 #C1D1F2

Accessibility & contrast

On white

3.53
#5C87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5C87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87DC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87DC#FFFFFF#000000##000000
##5C87DC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c87dc;
/* rgb */ color: rgb(92, 135, 220);
/* oklch */ color: oklch(63.1% 0.137 262.8);
Tailwind
colors: {
  custom: {
    50: '#94a9e7',
    500: '#5c87dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c87dc;
$custom-light: #94a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87dc",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 219.844,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63138,
    "c": 0.13706,
    "h": 262.8
  },
  "luminance": 0.24771
}

Semantic roles & 50–950 ramp

primary
#5C87DC
secondary
#E2D2B2
accent
#9019CC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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