#51687E#51687E

#51687E is a mid, muted cyan. Relative luminance 0.132; OKLCH L 50.7% C 0.045 H 247.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#51687E
RGBrgb(81, 104, 126)
HSLhsl(209, 22%, 41%)
HSVhsv(209, 36%, 49%)
CMYKcmyk(35.7%, 17.5%, 0%, 50.6%)
CIE-LABlab(43.00, -2.71, -14.99)
CIE-LCHlch(43.00, 15.23, 259.75°)
OKLaboklab(50.74% -0.017 -0.0413)
OKLCHoklch(50.74% 0.045 247.6)
XYZxyz(12.1084, 13.1557, 21.6359)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51687E #7E6751
analogous
#517E7D #51687E #51517E
triadic
#51687E #7E5168 #687E51
tetradic
#51687E #7D517E #7E6751 #517E51
square
#51687E #7D517E #7E6751 #517E51
split-complementary
#51687E #7E5151 #7E7D51
monochromatic
#212B33 #394959 #51687E #6C87A0 #91A5B8

Accessibility & contrast

On white

5.78
#51687E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#51687E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51687E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51687E#FFFFFF#000000##FFFFFF
##51687E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#5A637E
Tritanopia (blue-blind)
#436D6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #51687e;
/* rgb */ color: rgb(81, 104, 126);
/* oklch */ color: oklch(50.7% 0.045 247.6);
Tailwind
colors: {
  custom: {
    50: '#8393a3',
    500: '#51687e',
    950: '#000000',
  },
}
SCSS
$custom: #51687e;
$custom-light: #8393a3;
$custom-dark: #000000;
JSON
{
  "hex": "#51687e",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 126
  },
  "hsl": {
    "h": 209.333,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.04465,
    "h": 247.6
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#51687E
secondary
#A59585
accent
#936ABE
background
#F8F9FA
surface
#EFF1F3
border
#CACBCD
text
#0B0D0F
muted
#7C7E7F

Preview Lab

Preview with #51687E

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

Preview Lab → · Contrast checker → · Palette generator →

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