#5C87CB#5C87CB

#5C87CB is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.2% C 0.114 H 259.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5C87CB
RGBrgb(92, 135, 203)
HSLhsl(217, 52%, 58%)
HSVhsv(217, 55%, 80%)
CMYKcmyk(54.7%, 33.5%, 0%, 20.4%)
CIE-LABlab(56.00, 5.04, -39.69)
CIE-LCHlch(56.00, 40.01, 277.23°)
OKLaboklab(62.2% -0.0213 -0.112)
OKLCHoklch(62.2% 0.114 259.2)
XYZxyz(23.8534, 23.9132, 59.8470)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87CB #CBA05C
analogous
#5CBECB #5C87CB #685CCB
triadic
#5C87CB #CB5C87 #87CB5C
tetradic
#5C87CB #CB5CBE #CBA05C #5CCB68
square
#5C87CB #CB5CBE #CBA05C #5CCB68
split-complementary
#5C87CB #CB685C #BECB5C
monochromatic
#2A4C83 #3967B1 #5C87CB #8AA9DA #B9CBE9

Accessibility & contrast

On white

3.63
#5C87CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5C87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87CB#FFFFFF#000000##000000
##5C87CB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#5E81CA
Tritanopia (blue-blind)
#1896A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c87cb;
/* rgb */ color: rgb(92, 135, 203);
/* oklch */ color: oklch(62.2% 0.114 259.2);
Tailwind
colors: {
  custom: {
    50: '#91a9db',
    500: '#5c87cb',
    950: '#000000',
  },
}
SCSS
$custom: #5c87cb;
$custom-light: #91a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87cb",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 216.757,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62202,
    "c": 0.11397,
    "h": 259.2
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#5C87CB
secondary
#D8C6AB
accent
#A44DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5C87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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