---
title: "#51517B Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #51517B — RGB(81, 81, 123), HSL(240, 21%, 40%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/51517b
---
Custom color

# #51517B

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

240°

Sat

21%

Light

40%

Shades & tints

CSS variables

CSS

```
/* #51517B */
:root {
  --color--51517b: #51517B;
  --color--51517b-rgb: 81, 81, 123;
  --color--51517b-hsl: 240, 21%, 40%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#51517B

#7B7B51

Analogous

#51667B

#51517B

#66517B

Triadic

#51517B

#7B5151

#517B51

Split complementary

#51517B

#7B6651

#667B51

WCAG contrast

Aa

The quick brown fox.

7.47

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

2.81

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Comet

#5C5D75

Mid Gray

#5F5F6E

Gun Powder

#414257

Charade

#292937

Tuna

#353542

Kimberly

#736C9F

Waterloo

#7B7C94

Dolphin

#646077

Smoky

#605B73

Scampi

#675FA6

Ebony Clay

#26283B

East Bay

#414C7D

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
