#51687F#51687F

#51687F is a mid, muted cyan. Relative luminance 0.132; OKLCH L 50.8% C 0.046 H 248.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#51687F
RGBrgb(81, 104, 127)
HSLhsl(210, 22%, 41%)
HSVhsv(210, 36%, 50%)
CMYKcmyk(36.2%, 18.1%, 0%, 50.2%)
CIE-LABlab(43.04, -2.43, -15.53)
CIE-LCHlch(43.04, 15.72, 261.11°)
OKLaboklab(50.78% -0.0167 -0.0428)
OKLCHoklch(50.78% 0.046 248.7)
XYZxyz(12.1732, 13.1817, 21.9775)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51687F #7F6851
analogous
#517F7F #51687F #51517F
triadic
#51687F #7F5168 #687F51
tetradic
#51687F #7F517F #7F6851 #517F51
square
#51687F #7F517F #7F6851 #517F51
split-complementary
#51687F #7F5151 #7F7F51
monochromatic
#212B34 #39495A #51687F #6C87A1 #91A5B9

Accessibility & contrast

On white

5.77
#51687F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#51687F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51687F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51687F#FFFFFF#000000##FFFFFF
##51687F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6880
Deuteranopia (green-blind)
#59647F
Tritanopia (blue-blind)
#426D70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #51687f;
/* rgb */ color: rgb(81, 104, 127);
/* oklch */ color: oklch(50.8% 0.046 248.7);
Tailwind
colors: {
  custom: {
    50: '#8393a4',
    500: '#51687f',
    950: '#000000',
  },
}
SCSS
$custom: #51687f;
$custom-light: #8393a4;
$custom-dark: #000000;
JSON
{
  "hex": "#51687f",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 127
  },
  "hsl": {
    "h": 210,
    "s": 22.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.04592,
    "h": 248.7
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#51687F
secondary
#A69686
accent
#9469BF
background
#F8F9FA
surface
#EFF1F4
border
#CACBCE
text
#0B0D0F
muted
#7C7E7F

Preview Lab

Preview with #51687F

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

Preview Lab → · Contrast checker → · Palette generator →

#51687F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva