#51687A#51687A

#51687A is a mid, muted cyan. Relative luminance 0.131; OKLCH L 50.6% C 0.040 H 242.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#51687A
RGBrgb(81, 104, 122)
HSLhsl(206, 20%, 40%)
HSVhsv(206, 34%, 48%)
CMYKcmyk(33.6%, 14.8%, 0%, 52.2%)
CIE-LABlab(42.85, -3.82, -12.80)
CIE-LCHlch(42.85, 13.36, 253.38°)
OKLaboklab(50.57% -0.0186 -0.0351)
OKLCHoklch(50.57% 0.04 242.1)
XYZxyz(11.8554, 13.0546, 20.3037)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51687A #7A6351
analogous
#517A77 #51687A #51547A
triadic
#51687A #7A5168 #687A51
tetradic
#51687A #77517A #7A6351 #547A51
square
#51687A #77517A #7A6351 #547A51
split-complementary
#51687A #7A5154 #7A7751
monochromatic
#202930 #394955 #51687A #6B879D #90A5B5

Accessibility & contrast

On white

5.82
#51687A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#51687A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51687A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51687A#FFFFFF#000000##FFFFFF
##51687A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61687B
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#446C6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #51687a;
/* rgb */ color: rgb(81, 104, 122);
/* oklch */ color: oklch(50.6% 0.040 242.1);
Tailwind
colors: {
  custom: {
    50: '#8393a0',
    500: '#51687a',
    950: '#000000',
  },
}
SCSS
$custom: #51687a;
$custom-light: #8393a0;
$custom-dark: #000000;
JSON
{
  "hex": "#51687a",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 122
  },
  "hsl": {
    "h": 206.341,
    "s": 20.197,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.03976,
    "h": 242.1
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#51687A
secondary
#A39284
accent
#8F6BBD
background
#F8F9F9
surface
#EFF1F2
border
#CACBCC
text
#0B0D0E
muted
#7C7E7E

Preview Lab

Preview with #51687A

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

Preview Lab → · Contrast checker → · Palette generator →

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