#5C87DD#5C87DD

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

Color values

HEX#5C87DD
RGBrgb(92, 135, 221)
HSLhsl(220, 65%, 61%)
HSVhsv(220, 58%, 87%)
CMYKcmyk(58.4%, 38.9%, 0%, 13.3%)
CIE-LABlab(56.90, 10.86, -48.40)
CIE-LCHlch(56.90, 49.60, 282.65°)
OKLaboklab(63.2% -0.017 -0.1374)
OKLCHoklch(63.2% 0.138 263)
XYZxyz(26.1243, 24.8215, 71.8069)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87DD #DDB25C
analogous
#5CC8DD #5C87DD #725CDD
triadic
#5C87DD #DD5C87 #87DD5C
tetradic
#5C87DD #DD5CC8 #DDB25C #5CDD72
square
#5C87DD #DD5CC8 #DDB25C #5CDD72
split-complementary
#5C87DD #DD725C #C8DD5C
monochromatic
#214A9E #2B62D0 #5C87DD #8FACE8 #C1D2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C87DD#FFFFFF#000000##000000
##5C87DD1.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)
#628FE0
Deuteranopia (green-blind)
#5183DB
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c87dd;
/* rgb */ color: rgb(92, 135, 221);
/* oklch */ color: oklch(63.2% 0.138 263.0);
Tailwind
colors: {
  custom: {
    50: '#94a9e8',
    500: '#5c87dd',
    950: '#000000',
  },
}
SCSS
$custom: #5c87dd;
$custom-light: #94a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87dd",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 220,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63196,
    "c": 0.13843,
    "h": 263
  },
  "luminance": 0.24824
}

Semantic roles & 50–950 ramp

primary
#5C87DD
secondary
#E3D2B2
accent
#9118CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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