#5C87AF#5C87AF

#5C87AF is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.8% C 0.077 H 247.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5C87AF
RGBrgb(92, 135, 175)
HSLhsl(209, 34%, 52%)
HSVhsv(209, 47%, 69%)
CMYKcmyk(47.4%, 22.9%, 0%, 31.4%)
CIE-LABlab(54.76, -3.62, -25.68)
CIE-LCHlch(54.76, 25.93, 261.97°)
OKLaboklab(60.82% -0.0297 -0.0715)
OKLCHoklch(60.82% 0.077 247.4)
XYZxyz(20.8128, 22.6970, 43.8333)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C87AF #AF845C
analogous
#5CAFAE #5C87AF #5C5EAF
triadic
#5C87AF #AF5C87 #87AF5C
tetradic
#5C87AF #AE5CAF #AF845C #5EAF5C
square
#5C87AF #AE5CAF #AF845C #5EAF5C
split-complementary
#5C87AF #AF5C5E #AFAE5C
monochromatic
#304961 #44688A #5C87AF #85A5C3 #AEC3D7

Accessibility & contrast

On white

3.79
#5C87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5C87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C87AF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C87AF#FFFFFF#000000##000000
##5C87AF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#389094
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c87af;
/* rgb */ color: rgb(92, 135, 175);
/* oklch */ color: oklch(60.8% 0.077 247.4);
Tailwind
colors: {
  custom: {
    50: '#8ea9c7',
    500: '#5c87af',
    950: '#000000',
  },
}
SCSS
$custom: #5c87af;
$custom-light: #8ea9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c87af",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 208.916,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.07745,
    "h": 247.4
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#5C87AF
secondary
#C5B3A1
accent
#925ECA
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D1013
muted
#7E7F82

Preview Lab

Preview with #5C87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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